Skip to content

Commit

Permalink
Tidy up tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
mcdee committed Jul 11, 2022
1 parent 9b62517 commit 737da2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/type0transaction_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ func TestType0TransactionJSON(t *testing.T) {
{
name: "GasPriceInvalid",
input: []byte(`{"blockHash":"0x4e3a3754410177e6937ef1f84bba68ea139e8d1a2258c5f85db9f1cd715a1bdd","blockNumber":"0xb443","from":"0xa1e4380a3b1f749673e270229993ee55f35663b4","gas":"0x5208","gasPrice":"true","hash":"0x5c504ed432cb51138bcf09aa5e8a410dd4a1e204ef84bfed1be16dfba1b22060","input":"0x","nonce":"0x0","r":"0x88ff6cf0fefd94db46111149ae4bfc179e9b94721fffd821d38d16464b3f71d0","s":"0x45e0aff800961cfce805daef7016b9b675c137a6a41a548f7b60a3484c06a33a","to":"0x5df9b87991262f6ba471f09758cde1c0fc1de734","transactionIndex":"0x0","type":"0x0","v":"0x1c","value":"0x7a69"}`),
err: "gas price invalid: strconv.ParseUint: parsing \"true\": invalid syntax",
err: "gas price for 0x5c504ed432cb51138bcf09aa5e8a410dd4a1e204ef84bfed1be16dfba1b22060 invalid: strconv.ParseUint: parsing \"true\": invalid syntax",
},
{
name: "HashMissing",
Expand Down

0 comments on commit 737da2d

Please sign in to comment.