diff options
author | obscuren <geffobscura@gmail.com> | 2015-03-20 23:02:01 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2015-03-20 23:02:01 +0800 |
commit | a59bb053f4d2a4a28341c645c051c4c323581a1b (patch) | |
tree | 6f414de5c01c9cc69d2ee461ca49ef1858aa1ca6 /core | |
parent | deee9cb170ff105992ede83c52013d0c2c4ad10d (diff) | |
parent | 28e1971272d5bab6aa683d3bbe711226ca1fef98 (diff) | |
download | dexon-a59bb053f4d2a4a28341c645c051c4c323581a1b.tar.gz dexon-a59bb053f4d2a4a28341c645c051c4c323581a1b.tar.zst dexon-a59bb053f4d2a4a28341c645c051c4c323581a1b.zip |
merge
Diffstat (limited to 'core')
-rw-r--r-- | core/filter.go | 4 |
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 |