aboutsummaryrefslogtreecommitdiffstats
path: root/event
diff options
context:
space:
mode:
authorJeffrey Wilcke <jeffrey@ethereum.org>2015-05-08 17:56:55 +0800
committerJeffrey Wilcke <jeffrey@ethereum.org>2015-05-08 17:56:55 +0800
commit637b2415d969a97b3d119be2aceb9411458d00d9 (patch)
tree3d61d0853f51bdca06881033b45ec22a9ddbe630 /event
parent69aac4d5316ca8ec3429de534349a8dbdb0b59a5 (diff)
parent60b5a94428abf57dc921347684508db44f0f1a04 (diff)
downloadgo-tangerine-637b2415d969a97b3d119be2aceb9411458d00d9.tar
go-tangerine-637b2415d969a97b3d119be2aceb9411458d00d9.tar.gz
go-tangerine-637b2415d969a97b3d119be2aceb9411458d00d9.tar.bz2
go-tangerine-637b2415d969a97b3d119be2aceb9411458d00d9.tar.lz
go-tangerine-637b2415d969a97b3d119be2aceb9411458d00d9.tar.xz
go-tangerine-637b2415d969a97b3d119be2aceb9411458d00d9.tar.zst
go-tangerine-637b2415d969a97b3d119be2aceb9411458d00d9.zip
Merge pull request #864 from obscuren/filter_changes
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()