diff options
author | Gustav Simonsson <gustav.simonsson@gmail.com> | 2015-05-12 23:04:35 +0800 |
---|---|---|
committer | Gustav Simonsson <gustav.simonsson@gmail.com> | 2015-05-12 23:22:17 +0800 |
commit | 8001e48115fdfa9a032d4c3c3d4d772cd08592c5 (patch) | |
tree | c0b427c878a8a33984920a9555a1d11cb04b4c64 /common | |
parent | 2c1b0ff17e020f300ed9d5a5a244f59b4febfe66 (diff) | |
download | go-tangerine-8001e48115fdfa9a032d4c3c3d4d772cd08592c5.tar go-tangerine-8001e48115fdfa9a032d4c3c3d4d772cd08592c5.tar.gz go-tangerine-8001e48115fdfa9a032d4c3c3d4d772cd08592c5.tar.bz2 go-tangerine-8001e48115fdfa9a032d4c3c3d4d772cd08592c5.tar.lz go-tangerine-8001e48115fdfa9a032d4c3c3d4d772cd08592c5.tar.xz go-tangerine-8001e48115fdfa9a032d4c3c3d4d772cd08592c5.tar.zst go-tangerine-8001e48115fdfa9a032d4c3c3d4d772cd08592c5.zip |
Fix natspec test (again x2) types
Diffstat (limited to 'common')
-rw-r--r-- | common/natspec/natspec_e2e_test.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/common/natspec/natspec_e2e_test.go b/common/natspec/natspec_e2e_test.go index 37b348207..a7fc5cb77 100644 --- a/common/natspec/natspec_e2e_test.go +++ b/common/natspec/natspec_e2e_test.go @@ -4,6 +4,7 @@ import ( "fmt" "io/ioutil" "os" + "strings" "testing" "github.com/ethereum/go-ethereum/accounts" @@ -115,7 +116,7 @@ func testEth(t *testing.T) (ethereum *eth.Ethereum, err error) { if err != nil { panic(err) } - testAddress := common.Bytes2Hex(testAccount.Address) + testAddress := strings.TrimPrefix(testAccount.Address.Hex(), "0x") // set up mock genesis with balance on the testAddress core.GenesisData = []byte(`{ |