diff options
author | obscuren <geffobscura@gmail.com> | 2014-12-03 19:21:12 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-12-03 19:21:12 +0800 |
commit | 3d9a4e7084c33cb28a2265c0dd232a0ea3871c92 (patch) | |
tree | 84b7ccf6ea1ccc4eca0b8ded0a382c1bfe98e190 /chain | |
parent | f7789220862f67c2aadaf7b6a44fcd54152dd234 (diff) | |
download | go-tangerine-3d9a4e7084c33cb28a2265c0dd232a0ea3871c92.tar.gz go-tangerine-3d9a4e7084c33cb28a2265c0dd232a0ea3871c92.tar.zst go-tangerine-3d9a4e7084c33cb28a2265c0dd232a0ea3871c92.zip |
Fixed mem error in vm. Fixed logs tests
Diffstat (limited to 'chain')
-rw-r--r-- | chain/bloom9.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chain/bloom9.go b/chain/bloom9.go index c610bd101..9b2e379c8 100644 --- a/chain/bloom9.go +++ b/chain/bloom9.go @@ -11,13 +11,13 @@ import ( func CreateBloom(receipts Receipts) []byte { bin := new(big.Int) for _, receipt := range receipts { - bin.Or(bin, logsBloom(receipt.logs)) + bin.Or(bin, LogsBloom(receipt.logs)) } return ethutil.LeftPadBytes(bin.Bytes(), 64) } -func logsBloom(logs state.Logs) *big.Int { +func LogsBloom(logs state.Logs) *big.Int { bin := new(big.Int) for _, log := range logs { data := [][]byte{log.Address} |