mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-17 01:13:45 +00:00
mobile: pull-request fixes
removed the unnecessary variable
This commit is contained in:
parent
296cae1218
commit
d49464b461
1 changed files with 1 additions and 1 deletions
|
|
@ -198,7 +198,7 @@ func (ec *EthereumClient) FilterLogs(ctx *Context, query *FilterQuery) (logs *Lo
|
|||
}
|
||||
// Temp hack due to vm.Logs being []*vm.Log
|
||||
res := make([]*types.Log, len(rawLogs))
|
||||
for i, _ := range rawLogs {
|
||||
for i := range rawLogs {
|
||||
res[i] = &rawLogs[i]
|
||||
}
|
||||
return &Logs{res}, nil
|
||||
|
|
|
|||
Loading…
Reference in a new issue