aboutsummaryrefslogtreecommitdiff
path: root/src/httpserver.cpp
diff options
context:
space:
mode:
authorBen Woosley <[email protected]>2018-07-13 12:41:42 -0400
committerBen Woosley <[email protected]>2018-07-13 12:41:45 -0400
commit93de2891fa9cb8314573ba3a6ab764bc9c52444d (patch)
tree104a50f2c5bf92d14b60d4f70d9de74f5b0bfb23 /src/httpserver.cpp
parentMerge #13645: [tests] skip rpc_zmq functional test as necessary (diff)
downloaddiscoin-93de2891fa9cb8314573ba3a6ab764bc9c52444d.tar.xz
discoin-93de2891fa9cb8314573ba3a6ab764bc9c52444d.zip
wallet: assert to ensure accuracy of CMerkleTx::GetBlocksToMaturity
According to my understanding, it should not be possible for coinbase transactions to be conflicting, thus it should not be possible for GetDepthInMainChain to return a negative result. If it did, this would also result in innacurate results for GetBlocksToMaturity due to the math therein. asserting ensures accuracy.
Diffstat (limited to 'src/httpserver.cpp')
0 files changed, 0 insertions, 0 deletions