diff options
author | Péter Szilágyi <peterke@gmail.com> | 2016-06-27 23:28:34 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2016-09-02 19:12:03 +0800 |
commit | 795b70423eac7180ab85b735f64aae9d6a10449d (patch) | |
tree | afa669325907e0c56c9898010fbbed3695497c9c /eth | |
parent | 49227f65ff5ae42d47dfb65eaf88d38790543b06 (diff) | |
download | go-tangerine-795b70423eac7180ab85b735f64aae9d6a10449d.tar.gz go-tangerine-795b70423eac7180ab85b735f64aae9d6a10449d.tar.zst go-tangerine-795b70423eac7180ab85b735f64aae9d6a10449d.zip |
core, eth, miner: only retain 1 tx/nonce, remove bad ones
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 efcdb3361..e19254374 100644 --- a/eth/api_backend.go +++ b/eth/api_backend.go @@ -149,7 +149,7 @@ func (b *EthApiBackend) Stats() (pending int, queued int) { return b.eth.txPool.Stats() } -func (b *EthApiBackend) TxPoolContent() (map[common.Address]map[uint64][]*types.Transaction, map[common.Address]map[uint64][]*types.Transaction) { +func (b *EthApiBackend) TxPoolContent() (map[common.Address]core.TxList, map[common.Address]core.TxList) { b.eth.txMu.Lock() defer b.eth.txMu.Unlock() |