Skip to content

Commit

Permalink
abi: pCode is a pointer instead of value
Browse files Browse the repository at this point in the history
Signed-off-by: jsvisa <delweng@gmail.com>
  • Loading branch information
jsvisa committed Dec 23, 2024
1 parent 498b9ce commit 717acfd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion abi/revert.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ func UnpackRevert(data []byte) (string, error) {
if err != nil {
return "", err
}
var pCode big.Int
var pCode *big.Int
if err := (ethabi.Arguments{{Type: typ}}).Unpack(&pCode, data[4:]); err != nil {
return "", err
}
Expand Down

0 comments on commit 717acfd

Please sign in to comment.