fix nonce

This commit is contained in:
ychiao 2022-12-23 23:26:34 +08:00 committed by raulk
parent 4411fd7f81
commit 60c9832429

View File

@ -1487,6 +1487,7 @@ func newEthTxFromFilecoinMessage(ctx context.Context, smsg *types.SignedMessage,
tx := ethtypes.EthTx{ tx := ethtypes.EthTx{
Hash: hash, Hash: hash,
Nonce: ethtypes.EthUint64(smsg.Message.Nonce),
ChainID: ethtypes.EthUint64(build.Eip155ChainId), ChainID: ethtypes.EthUint64(build.Eip155ChainId),
From: fromEthAddr, From: fromEthAddr,
To: toAddr, To: toAddr,