aboutsummaryrefslogtreecommitdiffstats
path: root/eth/api_backend.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/api_backend.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/api_backend.go')
-rw-r--r--eth/api_backend.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/eth/api_backend.go b/eth/api_backend.go
index ef70b12b7..91a7dc7e0 100644
--- a/eth/api_backend.go
+++ b/eth/api_backend.go
@@ -188,8 +188,8 @@ func (b *EthAPIBackend) TxPoolContent() (map[common.Address]types.Transactions,
return b.eth.TxPool().Content()
}
-func (b *EthAPIBackend) SubscribeTxPreEvent(ch chan<- core.TxsPreEvent) event.Subscription {
- return b.eth.TxPool().SubscribeTxPreEvent(ch)
+func (b *EthAPIBackend) SubscribeNewTxsEvent(ch chan<- core.NewTxsEvent) event.Subscription {
+ return b.eth.TxPool().SubscribeNewTxsEvent(ch)
}
func (b *EthAPIBackend) Downloader() *downloader.Downloader {