mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-26 06:36:43 +00:00
core/types: fix rebase issue
This commit is contained in:
parent
08b6d495a9
commit
fc4e4b3a5b
1 changed files with 3 additions and 3 deletions
|
|
@ -106,12 +106,12 @@ func (b *Bloom) UnmarshalText(input []byte) error {
|
|||
func CreateBloom(receipt *Receipt) Bloom {
|
||||
var (
|
||||
bin Bloom
|
||||
buf = make([]byte, 6)
|
||||
buf [6]byte
|
||||
)
|
||||
for _, log := range receipt.Logs {
|
||||
bin.AddWithBuffer(log.Address.Bytes(), buf)
|
||||
bin.AddWithBuffer(log.Address.Bytes(), &buf)
|
||||
for _, b := range log.Topics {
|
||||
bin.AddWithBuffer(b[:], buf)
|
||||
bin.AddWithBuffer(b[:], &buf)
|
||||
}
|
||||
}
|
||||
return bin
|
||||
|
|
|
|||
Loading…
Reference in a new issue