mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-23 13:16:42 +00:00
eth/filters: local variable
Signed-off-by: jsvisa <delweng@gmail.com>
This commit is contained in:
parent
1380a479d2
commit
c93423eb60
1 changed files with 1 additions and 0 deletions
|
|
@ -352,6 +352,7 @@ func (api *FilterAPI) Logs(ctx context.Context, crit FilterCriteria) (*rpc.Subsc
|
||||||
notifier.Notify(rpcSub.ID, &log)
|
notifier.Notify(rpcSub.ID, &log)
|
||||||
case logs := <-rmLogsCh:
|
case logs := <-rmLogsCh:
|
||||||
for _, log := range logs {
|
for _, log := range logs {
|
||||||
|
log := log
|
||||||
if log.Removed {
|
if log.Removed {
|
||||||
rmLogs = append(rmLogs, log)
|
rmLogs = append(rmLogs, log)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue