diff options
Diffstat (limited to 'eth')
-rw-r--r-- | eth/api_backend.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/eth/api_backend.go b/eth/api_backend.go index db0e8cf41..ee5b51cf5 100644 --- a/eth/api_backend.go +++ b/eth/api_backend.go @@ -185,7 +185,7 @@ func (b *EthAPIBackend) GetTransaction(ctx context.Context, txHash common.Hash) } func (b *EthAPIBackend) GetPoolNonce(ctx context.Context, addr common.Address) (uint64, error) { - return b.eth.txPool.State().GetNonce(addr), nil + return b.eth.txPool.Nonce(addr), nil } func (b *EthAPIBackend) Stats() (pending int, queued int) { |