aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorWladimir J. van der Laan <[email protected]>2015-09-30 11:07:54 +0200
committerWladimir J. van der Laan <[email protected]>2015-09-30 11:08:30 +0200
commit4f44530bc38fb8367c2b9bde21492b545e7f7f26 (patch)
tree53145a92262745270cfda20578a317e24a749973 /src/main.cpp
parentMerge pull request #6740 (diff)
parentuse CBlockIndex* insted of uint256 for UpdatedBlockTip signal (diff)
downloaddiscoin-4f44530bc38fb8367c2b9bde21492b545e7f7f26.tar.xz
discoin-4f44530bc38fb8367c2b9bde21492b545e7f7f26.zip
Merge pull request #6680
d76a8ac use CBlockIndex* insted of uint256 for UpdatedBlockTip signal (Jonas Schnelli)
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 1df4c9fa3..e919a2077 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -2320,7 +2320,7 @@ bool ActivateBestChain(CValidationState &state, const CBlock *pblock) {
pnode->PushInventory(CInv(MSG_BLOCK, hashNewTip));
}
// Notify external listeners about the new tip.
- GetMainSignals().UpdatedBlockTip(hashNewTip);
+ GetMainSignals().UpdatedBlockTip(pindexNewTip);
uiInterface.NotifyBlockTip(hashNewTip);
}
} while(pindexMostWork != chainActive.Tip());