bug: should use txidCollateral to calculate confirmations (#1188)

This commit is contained in:
UdjinM6 2016-12-21 15:38:44 +04:00 committed by Holger Schinzel
parent af33fd2217
commit 637a93ccfb

View File

@ -180,7 +180,7 @@ void CBudgetManager::SubmitFinalBudget()
txidCollateral = mapCollateralTxids[tempBudget.GetHash()]; txidCollateral = mapCollateralTxids[tempBudget.GetHash()];
} }
int conf = GetIXConfirmations(tx.GetHash()); int conf = GetIXConfirmations(txidCollateral);
CTransaction txCollateral; CTransaction txCollateral;
uint256 nBlockHash; uint256 nBlockHash;