diff options
| author | Max K. <[email protected]> | 2015-08-13 18:41:49 +0200 |
|---|---|---|
| committer | Max K. <[email protected]> | 2015-08-13 18:41:49 +0200 |
| commit | 1027b821df35fbf2e7a05bfe39e0e9cdb90e9cd5 (patch) | |
| tree | e4a4c4b56f4c3ee6e207dded5d448c8f7d7c1ee6 /src/main.cpp | |
| parent | Merge pull request #1233 from patricklodder/1.10-travis-osx-sdk (diff) | |
| parent | advertise block height addition to -blocknotify (diff) | |
| download | discoin-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.cpp | 2 |
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(); |