diff options
author | Péter Szilágyi <peterke@gmail.com> | 2017-05-30 23:15:57 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-30 23:15:57 +0800 |
commit | 41bdf49eedf003a051446ec3831a4c04178ac040 (patch) | |
tree | 3e732a610f12e77808cd7f3755bdd0f2262af70f /eth | |
parent | 8df24760d74176cb01559e581b140e52b18cdc62 (diff) | |
parent | ea11f7dd7aa77856a04d83d0db8f303d02e0ce14 (diff) | |
download | dexon-41bdf49eedf003a051446ec3831a4c04178ac040.tar.gz dexon-41bdf49eedf003a051446ec3831a4c04178ac040.tar.zst dexon-41bdf49eedf003a051446ec3831a4c04178ac040.zip |
Merge pull request #14516 from holiman/noncefixes
internal/ethapi: add mutex around signing + nonce assignment
Diffstat (limited to 'eth')
-rw-r--r-- | eth/bind.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/eth/bind.go b/eth/bind.go index 245934183..e5abd8617 100644 --- a/eth/bind.go +++ b/eth/bind.go @@ -48,7 +48,7 @@ func NewContractBackend(apiBackend ethapi.Backend) *ContractBackend { return &ContractBackend{ eapi: ethapi.NewPublicEthereumAPI(apiBackend), bcapi: ethapi.NewPublicBlockChainAPI(apiBackend), - txapi: ethapi.NewPublicTransactionPoolAPI(apiBackend), + txapi: ethapi.NewPublicTransactionPoolAPI(apiBackend, new(ethapi.AddrLocker)), } } |