Skip to content

Commit

Permalink
Improve the error message
Browse files Browse the repository at this point in the history
  • Loading branch information
maciejwitowski committed Jan 31, 2023
1 parent 5f2ef98 commit dcbfca5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion node/impl/full/eth.go
Original file line number Diff line number Diff line change
Expand Up @@ -1569,7 +1569,7 @@ func newEthTxFromSignedMessage(ctx context.Context, smsg *types.SignedMessage, s

tx.Hash, err = tx.TxHash()
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)
Expand Down

0 comments on commit dcbfca5

Please sign in to comment.