diff options
author | obscuren <geffobscura@gmail.com> | 2015-05-06 23:51:32 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2015-05-07 20:44:32 +0800 |
commit | 7e160a677d1590f97708a0d297f978a99977d398 (patch) | |
tree | 9cd71bfad14c06c381e3518f6fb11464225271ab /event | |
parent | 97c37356fdcfac8b704c3d75b33e322a737c4e55 (diff) | |
download | go-tangerine-7e160a677d1590f97708a0d297f978a99977d398.tar.gz go-tangerine-7e160a677d1590f97708a0d297f978a99977d398.tar.zst go-tangerine-7e160a677d1590f97708a0d297f978a99977d398.zip |
xeth, core, event/filter, rpc: new block and transaction filters
Diffstat (limited to 'event')
-rw-r--r-- | event/filter/eth_filter.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/event/filter/eth_filter.go b/event/filter/eth_filter.go index a1abe3418..b0d5078a2 100644 --- a/event/filter/eth_filter.go +++ b/event/filter/eth_filter.go @@ -88,8 +88,8 @@ out: case core.TxPreEvent: self.filterMu.RLock() for _, filter := range self.filters { - if filter.PendingCallback != nil { - filter.PendingCallback(event.Tx) + if filter.TransactionCallback != nil { + filter.TransactionCallback(event.Tx) } } self.filterMu.RUnlock() |