This PR fixes an issue caused by creating & dispatching multiple Aptos network Txs in a short period of time, causing 'later' transactions to outright fail due to the sequence number overlapping.
The chosen fix is a simple async mutex, that locks createTx until the tx has been dispatched and confirmed to the network.
This PR fixes an issue caused by creating & dispatching multiple Aptos network Txs in a short period of time, causing 'later' transactions to outright fail due to the sequence number overlapping. The chosen fix is a simple async mutex, that locks
createTx
until the tx has been dispatched and confirmed to the network.