mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-17 01:13:45 +00:00
Merge 7d785c14e1 into 0131bd6ff9
This commit is contained in:
commit
7f0e03eb99
1 changed files with 1 additions and 1 deletions
|
|
@ -199,7 +199,7 @@ func (ec *EthereumClient) FilterLogs(ctx *Context, query *FilterQuery) (logs *Lo
|
||||||
// Temp hack due to vm.Logs being []*vm.Log
|
// Temp hack due to vm.Logs being []*vm.Log
|
||||||
res := make([]*types.Log, len(rawLogs))
|
res := make([]*types.Log, len(rawLogs))
|
||||||
for i, log := range rawLogs {
|
for i, log := range rawLogs {
|
||||||
res[i] = &log
|
res[i] = &rawLogs[i]
|
||||||
}
|
}
|
||||||
return &Logs{res}, nil
|
return &Logs{res}, nil
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue