aboutsummaryrefslogtreecommitdiffstats
path: root/internal/ethapi/backend.go
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2016-06-27 23:28:34 +0800
committerPéter Szilágyi <peterke@gmail.com>2016-09-02 19:12:03 +0800
commit795b70423eac7180ab85b735f64aae9d6a10449d (patch)
treeafa669325907e0c56c9898010fbbed3695497c9c /internal/ethapi/backend.go
parent49227f65ff5ae42d47dfb65eaf88d38790543b06 (diff)
downloadgo-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.go2
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 {