From b668629143270f9a33ac5cbd4f777be30fd0779e Mon Sep 17 00:00:00 2001 From: Ross Nicoll Date: Tue, 11 Aug 2015 19:27:05 +0000 Subject: Add block height to block notification substitution options --- src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main.cpp') 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(); -- cgit v1.2.3