diff options
author | Péter Szilágyi <peterke@gmail.com> | 2018-05-20 00:39:28 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-20 00:39:28 +0800 |
commit | 953b5ac015da7fdef39c6864bb0cb490ffaa7959 (patch) | |
tree | 0a1b93effde4276c64a1c62ff97f25a5cd2deb7f /les/api_backend.go | |
parent | f9c456e02d6b8320389a7ea95c0eef3e10a87e2e (diff) | |
parent | 49719e21bcd740c5890334f8c0ec8ac3777fb4c6 (diff) | |
download | dexon-953b5ac015da7fdef39c6864bb0cb490ffaa7959.tar dexon-953b5ac015da7fdef39c6864bb0cb490ffaa7959.tar.gz dexon-953b5ac015da7fdef39c6864bb0cb490ffaa7959.tar.bz2 dexon-953b5ac015da7fdef39c6864bb0cb490ffaa7959.tar.lz dexon-953b5ac015da7fdef39c6864bb0cb490ffaa7959.tar.xz dexon-953b5ac015da7fdef39c6864bb0cb490ffaa7959.tar.zst dexon-953b5ac015da7fdef39c6864bb0cb490ffaa7959.zip |
Merge pull request #16720 from rjl493456442/PreTxsEvent
all: collate new transaction events together
Diffstat (limited to 'les/api_backend.go')
-rw-r--r-- | les/api_backend.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/les/api_backend.go b/les/api_backend.go index 1d3c99513..dea33c470 100644 --- a/les/api_backend.go +++ b/les/api_backend.go @@ -136,8 +136,8 @@ func (b *LesApiBackend) TxPoolContent() (map[common.Address]types.Transactions, return b.eth.txPool.Content() } -func (b *LesApiBackend) SubscribeTxPreEvent(ch chan<- core.TxPreEvent) event.Subscription { - return b.eth.txPool.SubscribeTxPreEvent(ch) +func (b *LesApiBackend) SubscribeNewTxsEvent(ch chan<- core.NewTxsEvent) event.Subscription { + return b.eth.txPool.SubscribeNewTxsEvent(ch) } func (b *LesApiBackend) SubscribeChainEvent(ch chan<- core.ChainEvent) event.Subscription { |