mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-24 13:46:43 +00:00
Update accounts/abi/bind/v2/base.go
This commit is contained in:
parent
a737ea1ba1
commit
ace2f955a7
1 changed files with 1 additions and 1 deletions
|
|
@ -474,7 +474,7 @@ func (c *BoundContract) FilterLogs(opts *FilterOpts, name string, query ...[]any
|
||||||
config.ToBlock = new(big.Int).SetUint64(*opts.End)
|
config.ToBlock = new(big.Int).SetUint64(*opts.End)
|
||||||
}
|
}
|
||||||
sub, err := c.filterer.SubscribeFilterLogs(ensureContext(opts.Context), config, logs)
|
sub, err := c.filterer.SubscribeFilterLogs(ensureContext(opts.Context), config, logs)
|
||||||
return logs, sub, nil
|
return logs, sub, err
|
||||||
}
|
}
|
||||||
|
|
||||||
// WatchLogs filters subscribes to contract logs for future blocks, returning a
|
// WatchLogs filters subscribes to contract logs for future blocks, returning a
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue