From 6c787dfd8ea470b4af901bff1a4622aeac6ad084 Mon Sep 17 00:00:00 2001 From: ash-krishnan Date: Mon, 6 Jun 2022 12:00:55 -0700 Subject: [PATCH] fixed gas price decoding --- services/construction/types.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/construction/types.go b/services/construction/types.go index 660693b..5b50133 100644 --- a/services/construction/types.go +++ b/services/construction/types.go @@ -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 }