aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2015-09-30 11:07:54 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2015-09-30 11:08:30 +0200
commit4f44530bc38fb8367c2b9bde21492b545e7f7f26 (patch)
tree53145a92262745270cfda20578a317e24a749973 /src/main.cpp
parent3f74cd2361b9f72a91d21f87980e15f2b5b5ca9f (diff)
parentd76a8acb9b7bcabf43e3e05168a36911f187818d (diff)
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 1df4c9fa36..e919a20771 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());