aboutsummaryrefslogtreecommitdiff
path: root/src/httpserver.cpp
diff options
context:
space:
mode:
authorJames O'Beirne <[email protected]>2018-02-13 22:39:04 -0500
committerJames O'Beirne <[email protected]>2018-02-16 11:50:22 -0500
commitf98b543522687a4ff93ad7d53fa3cc67b5c6d752 (patch)
tree5f01b3b4ec9c7a58a7374575c1ef2ca1692f3d82 /src/httpserver.cpp
parent[tests] Add a (failing) test for waitforblockheight (diff)
downloaddiscoin-f98b543522687a4ff93ad7d53fa3cc67b5c6d752.tar.xz
discoin-f98b543522687a4ff93ad7d53fa3cc67b5c6d752.zip
Only call NotifyBlockTip when the active chain changes
Previously, if `invalidateblock` was called on a block in a branch, NotifyBlockTip would be called on that block's predecessor, creating an incorrect `rpc/blockchain.cpp:latestblock` value. Only call NotifyBlockTip if the chain being modified is activeChain.
Diffstat (limited to 'src/httpserver.cpp')
0 files changed, 0 insertions, 0 deletions