Skip to content

Commit ddac6ce

Browse files
committed
[Trivial] Serialize strProposals to disk
1 parent 25f749a commit ddac6ce

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/masternode-budget.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -482,6 +482,7 @@ class CFinalizedBudget
482482
READWRITE(vecBudgetPayments);
483483
READWRITE(fAutoChecked);
484484
READWRITE(mapVotes);
485+
READWRITE(strProposals);
485486
}
486487

487488
// compare finalized budget by votes (sort tie with feeHash)
@@ -510,6 +511,7 @@ class CFinalizedBudgetBroadcast : public CFinalizedBudget
510511
first.vecBudgetPayments.swap(second.vecBudgetPayments);
511512
swap(first.nFeeTXHash, second.nFeeTXHash);
512513
swap(first.nTime, second.nTime);
514+
swap(first.strProposals, second.strProposals);
513515
}
514516

515517
CFinalizedBudgetBroadcast& operator=(CFinalizedBudgetBroadcast from)

0 commit comments

Comments
 (0)