good morning!!!!

Skip to content
Snippets Groups Projects
Commit 2808409f authored by Gustav Simonsson's avatar Gustav Simonsson
Browse files

Add genesis block total difficulty in tests

parent 323216ed
No related branches found
No related tags found
No related merge requests found
......@@ -320,6 +320,7 @@ func (bc *ChainManager) ResetWithGenesisBlock(gb *types.Block) {
}
// Prepare the genesis block
gb.Td = gb.Difficulty()
bc.genesisBlock = gb
bc.write(bc.genesisBlock)
bc.insert(bc.genesisBlock)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment