-
Notifications
You must be signed in to change notification settings - Fork 100
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
eth/nodeclient: Set contract nonces manually.
The v0 contract will reuse account nonces if the tx is not yet confirmed. To avoid that get the next nonce from the light eth node pool api while holding the nodeClient nonceSendMtx and set manually. Hold the mutex until the tx has been sent or errors on sending.
- Loading branch information
1 parent
0c75bd4
commit 2fa8601
Showing
1 changed file
with
47 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters