Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentysc committed Dec 4, 2024
1 parent 57beff2 commit 01ec2f0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion usecase/parser/msg.go
Original file line number Diff line number Diff line change
Expand Up @@ -2368,7 +2368,8 @@ func ParseMsgEthereumTx(
log := events.ParsedEventToTxsResultLog()
parserParams.TxsResult.Log = log

rawTxData, err := hex.DecodeString(rawMsg.Raw[2:]) // Remove hex prefix "0x..."
var rawTxData []byte
rawTxData, err = hex.DecodeString(rawMsg.Raw[2:]) // Remove hex prefix "0x..."
if err != nil {
panic("error decoding raw tx data")
}
Expand Down

0 comments on commit 01ec2f0

Please sign in to comment.