diff --git a/src/masternode-budget.cpp b/src/masternode-budget.cpp index eee86beb5d..829b056810 100644 --- a/src/masternode-budget.cpp +++ b/src/masternode-budget.cpp @@ -180,7 +180,7 @@ void CBudgetManager::SubmitFinalBudget() txidCollateral = mapCollateralTxids[tempBudget.GetHash()]; } - int conf = GetIXConfirmations(tx.GetHash()); + int conf = GetIXConfirmations(txidCollateral); CTransaction txCollateral; uint256 nBlockHash;