aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-03-18 18:44:25 +0800
committerobscuren <geffobscura@gmail.com>2015-03-18 18:44:25 +0800
commit942980609fb8a36873689bd3bd0a15488f327d56 (patch)
treed9de01873dc04c4e4042cf1260fe180d01f259bb /core
parentcd52ef315cf4d65cfb5282f72d795849266e3ab5 (diff)
downloadgo-tangerine-942980609fb8a36873689bd3bd0a15488f327d56.tar.gz
go-tangerine-942980609fb8a36873689bd3bd0a15488f327d56.tar.zst
go-tangerine-942980609fb8a36873689bd3bd0a15488f327d56.zip
conversions
Diffstat (limited to 'core')
-rw-r--r--core/types/common.go4
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[:]
+}