UnmarshalText b as a hex string with 0x prefix.
(input []byte)
| 88 | |
| 89 | // UnmarshalText b as a hex string with 0x prefix. |
| 90 | func (b *Bloom) UnmarshalText(input []byte) error { |
| 91 | return hexutil.UnmarshalFixedText("LogsBloom", input, b[:]) |
| 92 | } |
| 93 | |
| 94 | func CreateBloom(receipts Receipts) Bloom { |
| 95 | bin := new(big.Int) |