From 394e0f60c20206c7f7c4c76551d11a2b14b23a4d Mon Sep 17 00:00:00 2001 From: Felix Lange Date: Fri, 31 Oct 2014 18:56:25 +0100 Subject: chain, tests/helper, vm: make tests compile They were broken by df5603de0a34e80a1, when vm.Log became ethstate.Log. --- chain/bloom9_test.go | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'chain/bloom9_test.go') diff --git a/chain/bloom9_test.go b/chain/bloom9_test.go index b5a269504..863d0adee 100644 --- a/chain/bloom9_test.go +++ b/chain/bloom9_test.go @@ -3,12 +3,14 @@ package chain import ( "testing" - "github.com/ethereum/go-ethereum/vm" + "github.com/ethereum/go-ethereum/state" ) func TestBloom9(t *testing.T) { testCase := []byte("testtest") - bin := LogsBloom([]vm.Log{vm.Log{testCase, [][]byte{[]byte("hellohello")}, nil}}).Bytes() + bin := LogsBloom([]state.Log{ + {testCase, [][]byte{[]byte("hellohello")}, nil}, + }).Bytes() res := BloomLookup(bin, testCase) if !res { -- cgit