aboutsummaryrefslogtreecommitdiffstats
path: root/ethchain/block_chain.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-08-11 22:23:38 +0800
committerobscuren <geffobscura@gmail.com>2014-08-11 22:23:38 +0800
commita760ce05b948e89bc564af20599dcf95698ac0eb (patch)
treee9a1f0161521bc895de45e683ba6904a0d4923f9 /ethchain/block_chain.go
parent2e5d28c73f1d97865def3ffe8c7ad0a4819f15f3 (diff)
downloadgo-tangerine-a760ce05b948e89bc564af20599dcf95698ac0eb.tar.gz
go-tangerine-a760ce05b948e89bc564af20599dcf95698ac0eb.tar.zst
go-tangerine-a760ce05b948e89bc564af20599dcf95698ac0eb.zip
Updated chain for filtering
Diffstat (limited to 'ethchain/block_chain.go')
-rw-r--r--ethchain/block_chain.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/ethchain/block_chain.go b/ethchain/block_chain.go
index 3eba90fca..611735707 100644
--- a/ethchain/block_chain.go
+++ b/ethchain/block_chain.go
@@ -300,6 +300,8 @@ func (bc *BlockChain) setLastBlock() {
bc.genesisBlock.state.Trie.Sync()
// Prepare the genesis block
bc.Add(bc.genesisBlock)
+ fk := append([]byte("bloom"), bc.genesisBlock.Hash()...)
+ bc.Ethereum.Db().Put(fk, make([]byte, 255))
}
// Set the last know difficulty (might be 0x0 as initial value, Genesis)