Skip to content

Commit

Permalink
core:blockchain.go update getblockoncanonicalChain log
Browse files Browse the repository at this point in the history
  • Loading branch information
fengzi committed Jun 21, 2018
1 parent 14a3785 commit 7843312
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/blockchain.go
Original file line number Diff line number Diff line change
Expand Up @@ -452,7 +452,7 @@ func (bc *BlockChain) GetBlockOnCanonicalChainByHash(blockHash byteutils.Hash) *
blockByHeight := bc.GetBlockOnCanonicalChainByHeight(blockByHash.height)
if blockByHeight == nil {
logging.VLog().WithFields(logrus.Fields{
"height": blockByHeight.Height(),
"height": blockByHash.height,
"tail": bc.tailBlock,
"err": "cannot find block with the given height in local storage",
}).Debug("Failed to check a block on canonical chain.")
Expand Down

0 comments on commit 7843312

Please sign in to comment.