We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 413638c commit bfb491eCopy full SHA for bfb491e
src/qt/transactionrecord.cpp
@@ -342,7 +342,7 @@ void TransactionRecord::updateStatus(const CWalletTx& wtx)
342
//status.countsForBalance = wtx.IsTrusted() && !(wtx.GetBlocksToMaturity() > 0);
343
status.depth = wtx.GetDepthInMainChain();
344
if (IsZPIVType(type)) {
345
- status.depth = pindex ? chainActive.Height() - pindex->nHeight : 0;
+ status.depth = pindex ? chainActive.Height() - pindex->nHeight + 1: 0;
346
}
347
348
//Determine the depth of the block
0 commit comments