parent
3c4fcaa2ed
commit
d4f4d47cdb
|
@ -478,7 +478,7 @@ func (d *ERC20TransfersDownloader) blocksFromLogs(parent context.Context, logs [
|
||||||
// Double check provider returned the correct log
|
// Double check provider returned the correct log
|
||||||
if slices.Contains(d.accounts, from) {
|
if slices.Contains(d.accounts, from) {
|
||||||
address = from
|
address = from
|
||||||
} else if !slices.Contains(d.accounts, to) {
|
} else if slices.Contains(d.accounts, to) {
|
||||||
address = to
|
address = to
|
||||||
} else {
|
} else {
|
||||||
log.Error("from/to address mismatch", "log", l, "addresses", d.accounts)
|
log.Error("from/to address mismatch", "log", l, "addresses", d.accounts)
|
||||||
|
|
Loading…
Reference in New Issue