diff options
author | Felix Lange <fjl@twurst.com> | 2015-03-18 20:39:01 +0800 |
---|---|---|
committer | Felix Lange <fjl@twurst.com> | 2015-03-18 20:39:01 +0800 |
commit | d15f90645d5b2e90c441140972d9fe6ecd753643 (patch) | |
tree | b1f024c3c01f25b67bc25ed0452a9b584dad984f /core/types | |
parent | a59dd393e71cc52b1f96973aef884af619166f38 (diff) | |
parent | 0a1eeca41e6ba5920ba65d9b41654768299bc7e3 (diff) | |
download | go-tangerine-d15f90645d5b2e90c441140972d9fe6ecd753643.tar go-tangerine-d15f90645d5b2e90c441140972d9fe6ecd753643.tar.gz go-tangerine-d15f90645d5b2e90c441140972d9fe6ecd753643.tar.bz2 go-tangerine-d15f90645d5b2e90c441140972d9fe6ecd753643.tar.lz go-tangerine-d15f90645d5b2e90c441140972d9fe6ecd753643.tar.xz go-tangerine-d15f90645d5b2e90c441140972d9fe6ecd753643.tar.zst go-tangerine-d15f90645d5b2e90c441140972d9fe6ecd753643.zip |
Merge remote-tracking branch 'ethereum/conversion' into conversion
Diffstat (limited to 'core/types')
-rw-r--r-- | core/types/common.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/core/types/common.go b/core/types/common.go index cb57ef053..ace9c2c4b 100644 --- a/core/types/common.go +++ b/core/types/common.go @@ -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[:] +} |