[wallet] Download transactions with unspecified chainId
This commit is contained in:
parent
050dca8336
commit
ddc48c7cf4
|
@ -106,7 +106,8 @@ func (d *ETHTransferDownloader) getTransfersInBlock(ctx context.Context, blk *ty
|
||||||
}
|
}
|
||||||
|
|
||||||
for _, tx := range blk.Transactions() {
|
for _, tx := range blk.Transactions() {
|
||||||
if tx.ChainId().Cmp(d.chain) != 0 {
|
if tx.ChainId().Cmp(big.NewInt(0)) != 0 && tx.ChainId().Cmp(d.chain) != 0 {
|
||||||
|
log.Info("chain id mismatch", "tx hash", tx.Hash(), "tx chain id", tx.ChainId(), "expected chain id", d.chain)
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
from, err := types.Sender(d.signer, tx)
|
from, err := types.Sender(d.signer, tx)
|
||||||
|
|
Loading…
Reference in New Issue