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 /internal/ethapi/backend.go | |
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 'internal/ethapi/backend.go')
-rw-r--r-- | internal/ethapi/backend.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/ethapi/backend.go b/internal/ethapi/backend.go index 791a06925..673ab0546 100644 --- a/internal/ethapi/backend.go +++ b/internal/ethapi/backend.go @@ -58,7 +58,7 @@ type Backend interface { GetPoolTransaction(txHash common.Hash) *types.Transaction GetPoolNonce(ctx context.Context, addr common.Address) (uint64, error) Stats() (pending int, queued int) - TxPoolContent() (map[common.Address]map[uint64][]*types.Transaction, map[common.Address]map[uint64][]*types.Transaction) + TxPoolContent() (map[common.Address]core.TxList, map[common.Address]core.TxList) } type State interface { |