aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorRoss Nicoll <[email protected]>2015-08-11 19:27:05 +0000
committerRoss Nicoll <[email protected]>2015-08-11 19:27:05 +0000
commitb668629143270f9a33ac5cbd4f777be30fd0779e (patch)
tree2171a4359fbe42eecb7608044591d5acc643d85c /src/main.cpp
parentMerge pull request #1233 from patricklodder/1.10-travis-osx-sdk (diff)
downloaddiscoin-b668629143270f9a33ac5cbd4f777be30fd0779e.tar.xz
discoin-b668629143270f9a33ac5cbd4f777be30fd0779e.zip
Add block height to block notification substitution options
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 92d425ab8..8d408a34b 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -2424,7 +2424,7 @@ bool ActivateBestChain(CValidationState &state, CBlock *pblock) {
pnode->PushInventory(CInv(MSG_BLOCK, hashNewTip));
}
// Notify external listeners about the new tip.
- uiInterface.NotifyBlockTip(hashNewTip);
+ uiInterface.NotifyBlockTip(hashNewTip, pindexNewTip->nHeight);
}
} while(pindexMostWork != chainActive.Tip());
CheckBlockIndex();