Skip to content

Commit

Permalink
Improve error message
Browse files Browse the repository at this point in the history
Co-authored-by: Aayush Rajasekaran <arajasek94@gmail.com>
  • Loading branch information
maciejwitowski and arajasek authored Jan 31, 2023
1 parent 5f2ef98 commit 7103e6e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion node/impl/full/eth.go
Original file line number Diff line number Diff line change
Expand Up @@ -1569,7 +1569,8 @@ 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 7103e6e

Please sign in to comment.