Commit c219adf4 authored by Volodymyr Shamray's avatar Volodymyr Shamray

Fix initializaiton order

parent a94a8a16
......@@ -1614,11 +1614,11 @@ BudgetDraft::BudgetDraft()
}
BudgetDraft::BudgetDraft(int nBlockStart, const std::vector<CTxBudgetPayment>& vecBudgetPayments, uint256 nFeeTXHash)
: m_autoChecked(false)
: fValid(true)
, m_autoChecked(false)
, m_payments(vecBudgetPayments)
, m_blockStart(nBlockStart)
, m_feeTransactionHash(nFeeTXHash)
, fValid(true)
{
boost::sort(this->m_payments, ComparePayments);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment