good morning!!!!

Skip to content
Snippets Groups Projects
Commit b143dad5 authored by Jeffrey Wilcke's avatar Jeffrey Wilcke
Browse files

Reference pointer to block instead of pointer to function

parent 16ae6751
Branches
Tags
No related merge requests found
...@@ -168,7 +168,7 @@ func (bc *ChainManager) NewBlock(coinbase []byte) *types.Block { ...@@ -168,7 +168,7 @@ func (bc *ChainManager) NewBlock(coinbase []byte) *types.Block {
var root []byte var root []byte
parentHash := ZeroHash256 parentHash := ZeroHash256
if bc.CurrentBlock != nil { if bc.currentBlock != nil {
root = bc.currentBlock.Header().Root root = bc.currentBlock.Header().Root
parentHash = bc.lastBlockHash parentHash = bc.lastBlockHash
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment