Commit 8001e481 authored by Gustav Simonsson's avatar Gustav Simonsson

Fix natspec test (again x2) types

parent 2c1b0ff1
...@@ -4,6 +4,7 @@ import ( ...@@ -4,6 +4,7 @@ import (
"fmt" "fmt"
"io/ioutil" "io/ioutil"
"os" "os"
"strings"
"testing" "testing"
"github.com/ethereum/go-ethereum/accounts" "github.com/ethereum/go-ethereum/accounts"
...@@ -115,7 +116,7 @@ func testEth(t *testing.T) (ethereum *eth.Ethereum, err error) { ...@@ -115,7 +116,7 @@ func testEth(t *testing.T) (ethereum *eth.Ethereum, err error) {
if err != nil { if err != nil {
panic(err) panic(err)
} }
testAddress := common.Bytes2Hex(testAccount.Address) testAddress := strings.TrimPrefix(testAccount.Address.Hex(), "0x")
// set up mock genesis with balance on the testAddress // set up mock genesis with balance on the testAddress
core.GenesisData = []byte(`{ core.GenesisData = []byte(`{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment