Reorg filter logic to XEth

This commit is contained in:
Taylor Gerring
2015-03-19 22:58:07 -04:00
parent 12d87226a7
commit 6c04c19eb4
6 changed files with 271 additions and 201 deletions

View File

@ -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