Skip to content

Commit

Permalink
fixed gas price decoding
Browse files Browse the repository at this point in the history
  • Loading branch information
ash-krishnan committed Jun 6, 2022
1 parent 844e849 commit 6c787df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion services/construction/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -425,7 +425,7 @@ func (t *transaction) UnmarshalJSON(data []byte) error {
return err
}

gasPrice := big.NewInt(0)
gasPrice, err := hexutil.DecodeBig(tw.GasPrice)
if err != nil {
return err
}
Expand Down

0 comments on commit 6c787df

Please sign in to comment.