Improve the error message
This commit is contained in:
parent
5f2ef98de6
commit
dcbfca53d9
@ -1569,7 +1569,7 @@ func newEthTxFromSignedMessage(ctx context.Context, smsg *types.SignedMessage, s
|
|||||||
|
|
||||||
tx.Hash, err = tx.TxHash()
|
tx.Hash, err = tx.TxHash()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return ethtypes.EthTx{}, err
|
return ethtypes.EthTx{}, xerrors.Errorf("failed to calculate hash for ethTx: %w", err)
|
||||||
}
|
}
|
||||||
|
|
||||||
fromAddr, err := lookupEthAddress(ctx, smsg.Message.From, sa)
|
fromAddr, err := lookupEthAddress(ctx, smsg.Message.From, sa)
|
||||||
|
Loading…
Reference in New Issue
Block a user