aboutsummaryrefslogtreecommitdiffstats
path: root/p2p/discover
diff options
context:
space:
mode:
authorMartin Holst Swende <martin@swende.se>2017-05-19 21:03:56 +0800
committerFelix Lange <fjl@users.noreply.github.com>2017-05-19 21:03:56 +0800
commit83721a95ce486464dd825842f80061813ebb6b83 (patch)
tree4e7df4fdb26229dd6ddcebb777bdc24c40895966 /p2p/discover
parenta2f23ca9b181fa4409fdee3076316f3127038b9b (diff)
downloaddexon-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