conversions

This commit is contained in:
obscuren
2015-03-18 11:44:25 +01:00
parent cd52ef315c
commit 942980609f
4 changed files with 30 additions and 27 deletions

View File

@ -35,3 +35,7 @@ func (b *Bloom) SetBytes(d []byte) {
func (b Bloom) Big() *big.Int {
return common.Bytes2Big(b[:])
}
func (b Bloom) Bytes() []byte {
return b[:]
}