aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorMax K. <[email protected]>2015-08-13 18:41:49 +0200
committerMax K. <[email protected]>2015-08-13 18:41:49 +0200
commit1027b821df35fbf2e7a05bfe39e0e9cdb90e9cd5 (patch)
treee4a4c4b56f4c3ee6e207dded5d448c8f7d7c1ee6 /src/main.cpp
parentMerge pull request #1233 from patricklodder/1.10-travis-osx-sdk (diff)
parentadvertise block height addition to -blocknotify (diff)
downloaddiscoin-1027b821df35fbf2e7a05bfe39e0e9cdb90e9cd5.tar.xz
discoin-1027b821df35fbf2e7a05bfe39e0e9cdb90e9cd5.zip
Merge pull request #1238 from rnicoll/1.10-block-notify-height
Add block height to block notification
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();