From a966425a1de080a907356494db5c0302614a3cb5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C3=A9ter=20Szil=C3=A1gyi?= Date: Tue, 9 Jul 2019 10:34:35 +0300 Subject: core: kill off managed state, use own tiny noncer for txpool --- eth/api_backend.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'eth') 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) { -- cgit v1.2.3