core/types: fix rebase issue

This commit is contained in:
Felix Lange 2025-03-14 13:40:01 +01:00
parent 08b6d495a9
commit fc4e4b3a5b

View file

@ -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