fix go test error

Signed-off-by: Leo Chen <leo@harmony.one>
pull/3493/head
Leo Chen 4 years ago
parent 2d6f1f8c6e
commit 537d0b4abd
  1. 2
      accounts/abi/abi_test.go
  2. 2
      accounts/abi/bind/topics_test.go

@ -27,8 +27,8 @@ import (
"testing" "testing"
"github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/common/math"
"github.com/ethereum/go-ethereum/crypto" "github.com/ethereum/go-ethereum/crypto"
"github.com/harmony-one/harmony/common/math"
) )
const jsondata = ` const jsondata = `

@ -59,7 +59,7 @@ func TestParseTopics(t *testing.T) {
type bytesStruct struct { type bytesStruct struct {
StaticBytes [5]byte StaticBytes [5]byte
} }
bytesType, _ := abi.NewType("bytes5", nil) bytesType, _ := abi.NewType("bytes5", "", nil)
type args struct { type args struct {
createObj func() interface{} createObj func() interface{}
resultObj func() interface{} resultObj func() interface{}

Loading…
Cancel
Save