diff options
author | Martin Holst Swende <martin@swende.se> | 2017-05-19 21:03:56 +0800 |
---|---|---|
committer | Felix Lange <fjl@users.noreply.github.com> | 2017-05-19 21:03:56 +0800 |
commit | 83721a95ce486464dd825842f80061813ebb6b83 (patch) | |
tree | 4e7df4fdb26229dd6ddcebb777bdc24c40895966 /p2p/discover | |
parent | a2f23ca9b181fa4409fdee3076316f3127038b9b (diff) | |
download | dexon-83721a95ce486464dd825842f80061813ebb6b83.tar.gz dexon-83721a95ce486464dd825842f80061813ebb6b83.tar.zst dexon-83721a95ce486464dd825842f80061813ebb6b83.zip |
internal/ethapi: lock when auto-filling transaction nonce (#14483)
More context in the bug This solves the problems of transactions being
submitted simultaneously, and getting the same nonce, due to the gap (due to
signing) between nonce-issuance and nonce-update. With this PR, a lock will
need to be acquired whenever a nonce is used, and released when the transaction
is submitted or errors out.
Diffstat (limited to 'p2p/discover')
0 files changed, 0 insertions, 0 deletions