MCPcopy Create free account
hub / github.com/CPChain/chain / UnmarshalText

Method UnmarshalText

types/bloom9.go:90–92  ·  view source on GitHub ↗

UnmarshalText b as a hex string with 0x prefix.

(input []byte)

Source from the content-addressed store, hash-verified

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

Callers 1

toMessageMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected