aboutsummaryrefslogtreecommitdiffstats
path: root/eth/filters/api.go
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2018-05-18 16:45:52 +0800
committerPéter Szilágyi <peterke@gmail.com>2018-05-18 17:08:24 +0800
commit49719e21bcd740c5890334f8c0ec8ac3777fb4c6 (patch)
tree81caf3f5e52d25597f16a21b61b4d91ee4e023b0 /eth/filters/api.go
parenta2e43d28d01ef9642c7f6992b78b86bd0696c847 (diff)
downloadgo-tangerine-49719e21bcd740c5890334f8c0ec8ac3777fb4c6.tar
go-tangerine-49719e21bcd740c5890334f8c0ec8ac3777fb4c6.tar.gz
go-tangerine-49719e21bcd740c5890334f8c0ec8ac3777fb4c6.tar.bz2
go-tangerine-49719e21bcd740c5890334f8c0ec8ac3777fb4c6.tar.lz
go-tangerine-49719e21bcd740c5890334f8c0ec8ac3777fb4c6.tar.xz
go-tangerine-49719e21bcd740c5890334f8c0ec8ac3777fb4c6.tar.zst
go-tangerine-49719e21bcd740c5890334f8c0ec8ac3777fb4c6.zip
core, eth: minor txpool event cleanups
Diffstat (limited to 'eth/filters/api.go')
-rw-r--r--eth/filters/api.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/eth/filters/api.go b/eth/filters/api.go
index d2c9258f9..592ad3b82 100644
--- a/eth/filters/api.go
+++ b/eth/filters/api.go
@@ -105,7 +105,7 @@ func (api *PublicFilterAPI) timeoutLoop() {
func (api *PublicFilterAPI) NewPendingTransactionFilter() rpc.ID {
var (
pendingTxs = make(chan []common.Hash)
- pendingTxSub = api.events.SubscribePendingTxEvents(pendingTxs)
+ pendingTxSub = api.events.SubscribePendingTxs(pendingTxs)
)
api.filtersMu.Lock()
@@ -145,7 +145,7 @@ func (api *PublicFilterAPI) NewPendingTransactions(ctx context.Context) (*rpc.Su
go func() {
txHashes := make(chan []common.Hash, 128)
- pendingTxSub := api.events.SubscribePendingTxEvents(txHashes)
+ pendingTxSub := api.events.SubscribePendingTxs(txHashes)
for {
select {