Commit a0538786 authored by Dan Gershony's avatar Dan Gershony

Rename a variable to be more clear

parent f26c5b12
...@@ -121,8 +121,8 @@ namespace Breeze.Wallet ...@@ -121,8 +121,8 @@ namespace Breeze.Wallet
} }
else else
{ {
var chainedBlock = this.chain.GetBlock(block.GetHash()); ChainedBlock incomingBlock = this.chain.GetBlock(block.GetHash());
if (chainedBlock.Height > this.walletTip.Height) if (incomingBlock.Height > this.walletTip.Height)
{ {
// the wallet is falling behind we need to catch up // the wallet is falling behind we need to catch up
this.logger.LogDebug($"block received with height: {inBestChain.Height} and hash: {block.Header.GetHash()} is too far in advance. put the pull back."); this.logger.LogDebug($"block received with height: {inBestChain.Height} and hash: {block.Header.GetHash()} is too far in advance. put the pull back.");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment