diff options
author | obscuren <geffobscura@gmail.com> | 2014-11-01 08:18:13 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-11-01 08:18:13 +0800 |
commit | c8438979a9c5c73bf68a132d5fd0325863ab454b (patch) | |
tree | 1792da4ffa92e3a225bd37079c0458ea4b101d23 /chain/bloom9_test.go | |
parent | 141d3caabbfbebbbecac455462a40b6056aa3821 (diff) | |
parent | 394e0f60c20206c7f7c4c76551d11a2b14b23a4d (diff) | |
download | dexon-c8438979a9c5c73bf68a132d5fd0325863ab454b.tar dexon-c8438979a9c5c73bf68a132d5fd0325863ab454b.tar.gz dexon-c8438979a9c5c73bf68a132d5fd0325863ab454b.tar.bz2 dexon-c8438979a9c5c73bf68a132d5fd0325863ab454b.tar.lz dexon-c8438979a9c5c73bf68a132d5fd0325863ab454b.tar.xz dexon-c8438979a9c5c73bf68a132d5fd0325863ab454b.tar.zst dexon-c8438979a9c5c73bf68a132d5fd0325863ab454b.zip |
Merge branch 'develop' of github.com-obscure:ethereum/go-ethereum into develop
Diffstat (limited to 'chain/bloom9_test.go')
-rw-r--r-- | chain/bloom9_test.go | 6 |
1 files changed, 4 insertions, 2 deletions
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 { |