diff options
author | Matthew Halpern <matthalp@google.com> | 2019-02-14 22:38:55 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2019-02-14 22:38:55 +0800 |
commit | 7d24a7319246092c1a49cd5ccee1ed091c5f11de (patch) | |
tree | a10a41be7cb96bfdd6b34c20d81e69d7507ff767 | |
parent | e6c06a1da8ea8ecbc644a042ed0aeb95f49ab6ef (diff) | |
download | go-tangerine-7d24a7319246092c1a49cd5ccee1ed091c5f11de.tar go-tangerine-7d24a7319246092c1a49cd5ccee1ed091c5f11de.tar.gz go-tangerine-7d24a7319246092c1a49cd5ccee1ed091c5f11de.tar.bz2 go-tangerine-7d24a7319246092c1a49cd5ccee1ed091c5f11de.tar.lz go-tangerine-7d24a7319246092c1a49cd5ccee1ed091c5f11de.tar.xz go-tangerine-7d24a7319246092c1a49cd5ccee1ed091c5f11de.tar.zst go-tangerine-7d24a7319246092c1a49cd5ccee1ed091c5f11de.zip |
eth/tracers: enforce camel case variable names (#19057)
-rw-r--r-- | eth/tracers/tracers_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/eth/tracers/tracers_test.go b/eth/tracers/tracers_test.go index b435b1694..8b12b5b65 100644 --- a/eth/tracers/tracers_test.go +++ b/eth/tracers/tracers_test.go @@ -121,7 +121,7 @@ type callTracerTest struct { } func TestPrestateTracerCreate2(t *testing.T) { - unsigned_tx := types.NewTransaction(1, common.HexToAddress("0x00000000000000000000000000000000deadbeef"), + unsignedTx := types.NewTransaction(1, common.HexToAddress("0x00000000000000000000000000000000deadbeef"), new(big.Int), 5000000, big.NewInt(1), []byte{}) privateKeyECDSA, err := ecdsa.GenerateKey(crypto.S256(), rand.Reader) @@ -129,7 +129,7 @@ func TestPrestateTracerCreate2(t *testing.T) { t.Fatalf("err %v", err) } signer := types.NewEIP155Signer(big.NewInt(1)) - tx, err := types.SignTx(unsigned_tx, signer, privateKeyECDSA) + tx, err := types.SignTx(unsignedTx, signer, privateKeyECDSA) if err != nil { t.Fatalf("err %v", err) } |