aboutsummaryrefslogtreecommitdiffstats
path: root/ethchain
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-08-13 16:52:50 +0800
committerobscuren <geffobscura@gmail.com>2014-08-13 16:52:50 +0800
commitfa881220aedb638f9ee35337b2ca1817c2a8482f (patch)
tree302f533cdefa3f59ac0ae9f5030d5af91bd76c4d /ethchain
parenta760ce05b948e89bc564af20599dcf95698ac0eb (diff)
downloaddexon-fa881220aedb638f9ee35337b2ca1817c2a8482f.tar.gz
dexon-fa881220aedb638f9ee35337b2ca1817c2a8482f.tar.zst
dexon-fa881220aedb638f9ee35337b2ca1817c2a8482f.zip
Updated lookup method to include CNAME's as well as A records
Diffstat (limited to 'ethchain')
-rw-r--r--ethchain/bloom.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/ethchain/bloom.go b/ethchain/bloom.go
index 320ce73fc..5317ca0b1 100644
--- a/ethchain/bloom.go
+++ b/ethchain/bloom.go
@@ -6,7 +6,7 @@ type BloomFilter struct {
func NewBloomFilter(bin []byte) *BloomFilter {
if bin == nil {
- bin = make([]byte, 255)
+ bin = make([]byte, 256)
}
return &BloomFilter{