aboutsummaryrefslogtreecommitdiffstats
path: root/event
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-05-06 23:51:32 +0800
committerobscuren <geffobscura@gmail.com>2015-05-07 20:44:32 +0800
commit7e160a677d1590f97708a0d297f978a99977d398 (patch)
tree9cd71bfad14c06c381e3518f6fb11464225271ab /event
parent97c37356fdcfac8b704c3d75b33e322a737c4e55 (diff)
downloadgo-tangerine-7e160a677d1590f97708a0d297f978a99977d398.tar
go-tangerine-7e160a677d1590f97708a0d297f978a99977d398.tar.gz
go-tangerine-7e160a677d1590f97708a0d297f978a99977d398.tar.bz2
go-tangerine-7e160a677d1590f97708a0d297f978a99977d398.tar.lz
go-tangerine-7e160a677d1590f97708a0d297f978a99977d398.tar.xz
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.go4
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()