aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-03-20 23:02:01 +0800
committerobscuren <geffobscura@gmail.com>2015-03-20 23:02:01 +0800
commita59bb053f4d2a4a28341c645c051c4c323581a1b (patch)
tree6f414de5c01c9cc69d2ee461ca49ef1858aa1ca6 /core
parentdeee9cb170ff105992ede83c52013d0c2c4ad10d (diff)
parent28e1971272d5bab6aa683d3bbe711226ca1fef98 (diff)
downloaddexon-a59bb053f4d2a4a28341c645c051c4c323581a1b.tar
dexon-a59bb053f4d2a4a28341c645c051c4c323581a1b.tar.gz
dexon-a59bb053f4d2a4a28341c645c051c4c323581a1b.tar.bz2
dexon-a59bb053f4d2a4a28341c645c051c4c323581a1b.tar.lz
dexon-a59bb053f4d2a4a28341c645c051c4c323581a1b.tar.xz
dexon-a59bb053f4d2a4a28341c645c051c4c323581a1b.tar.zst
dexon-a59bb053f4d2a4a28341c645c051c4c323581a1b.zip
merge
Diffstat (limited to 'core')
-rw-r--r--core/filter.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/filter.go b/core/filter.go
index f1627636f..b5d9deb7a 100644
--- a/core/filter.go
+++ b/core/filter.go
@@ -34,7 +34,7 @@ type Filter struct {
topics [][]common.Hash
BlockCallback func(*types.Block, state.Logs)
- PendingCallback func(*types.Block, state.Logs)
+ PendingCallback func(*types.Transaction)
LogsCallback func(state.Logs)
}
@@ -46,7 +46,7 @@ func NewFilter(eth Backend) *Filter {
// SetOptions copies the filter options to the filter it self. The reason for this "silly" copy
// is simply because named arguments in this case is extremely nice and readable.
-func (self *Filter) SetOptions(options FilterOptions) {
+func (self *Filter) SetOptions(options *FilterOptions) {
self.earliest = options.Earliest
self.latest = options.Latest
self.skip = options.Skip