xeth, core, event/filter, rpc: new block and transaction filters

This commit is contained in:
obscuren
2015-05-07 14:44:32 +02:00
parent 97c37356fd
commit 7e160a677d
5 changed files with 202 additions and 87 deletions
+2 -2
View File
@@ -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()