mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-06-19 13:21:37 +00:00
Use pool pending nonce when creating the imported-block sign transaction. Previously the code used state nonce, which could lag behind pool nonce when a pending tx with the same sender already existed. In that case, adding the new sign tx could hit replacement checks and fail with 'replacement transaction underpriced'. This change switches nonce selection to PoolNonce to avoid nonce reuse in the local pool and prevent repeated sign insertion failures after block import. |
||
|---|---|---|
| .. | ||
| blocksigner | ||
| multisigwallet | ||
| randomize | ||
| solidity_0.6 | ||
| tests | ||
| trc21issuer | ||
| validator | ||
| XDCx | ||
| utils.go | ||
| utils_test.go | ||