aboutsummaryrefslogtreecommitdiffstats
path: root/internal/ethapi/api.go
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2017-09-05 03:35:00 +0800
committerPéter Szilágyi <peterke@gmail.com>2017-09-05 18:34:41 +0800
commitda7d57e07c04dcbb7cc20b35f6606ef3f4c400e3 (patch)
tree01b0266516f76b69ab7d93b0c78e396b3e712600 /internal/ethapi/api.go
parente7408b5552002df7c3ba6a2351f14c533dfc5a36 (diff)
downloaddexon-da7d57e07c04dcbb7cc20b35f6606ef3f4c400e3.tar
dexon-da7d57e07c04dcbb7cc20b35f6606ef3f4c400e3.tar.gz
dexon-da7d57e07c04dcbb7cc20b35f6606ef3f4c400e3.tar.bz2
dexon-da7d57e07c04dcbb7cc20b35f6606ef3f4c400e3.tar.lz
dexon-da7d57e07c04dcbb7cc20b35f6606ef3f4c400e3.tar.xz
dexon-da7d57e07c04dcbb7cc20b35f6606ef3f4c400e3.tar.zst
dexon-da7d57e07c04dcbb7cc20b35f6606ef3f4c400e3.zip
core: make txpool operate on immutable state
Diffstat (limited to 'internal/ethapi/api.go')
-rw-r--r--internal/ethapi/api.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/internal/ethapi/api.go b/internal/ethapi/api.go
index 30710aaab..0775749e7 100644
--- a/internal/ethapi/api.go
+++ b/internal/ethapi/api.go
@@ -1265,7 +1265,6 @@ func (s *PublicTransactionPoolAPI) Resend(ctx context.Context, sendArgs SendTxAr
if err != nil {
return common.Hash{}, err
}
- s.b.RemoveTx(p.Hash())
if err = s.b.SendTx(ctx, signedTx); err != nil {
return common.Hash{}, err
}