diff options
author | obscuren <geffobscura@gmail.com> | 2014-08-11 22:23:38 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-08-11 22:23:38 +0800 |
commit | a760ce05b948e89bc564af20599dcf95698ac0eb (patch) | |
tree | e9a1f0161521bc895de45e683ba6904a0d4923f9 /ethchain/block_chain.go | |
parent | 2e5d28c73f1d97865def3ffe8c7ad0a4819f15f3 (diff) | |
download | go-tangerine-a760ce05b948e89bc564af20599dcf95698ac0eb.tar go-tangerine-a760ce05b948e89bc564af20599dcf95698ac0eb.tar.gz go-tangerine-a760ce05b948e89bc564af20599dcf95698ac0eb.tar.bz2 go-tangerine-a760ce05b948e89bc564af20599dcf95698ac0eb.tar.lz go-tangerine-a760ce05b948e89bc564af20599dcf95698ac0eb.tar.xz 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.go | 2 |
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) |