diff options
Diffstat (limited to 'chain/bloom9.go')
-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} |