Skip to content

Commit 09acbd2

Browse files
author
lizekun
committed
sendRawTransaction
1 parent d88e992 commit 09acbd2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

geth.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ func (c *Client) EstimateGas(from, to string, value, gasPrice *big.Int) (limit u
3333
}
3434
limitStr := ""
3535
err = c.call("proxy", "eth_estimateGas", param, &limitStr)
36-
limit, err = strconv.ParseUint(limitStr, 16, 64)
36+
limit, err = strconv.ParseUint(limitStr, 0, 0)
3737
return
3838
}
3939

0 commit comments

Comments
 (0)