Added CBudgetManager::ToString
This commit is contained in:
parent
21769085ec
commit
ffed6dc948
@ -1596,3 +1596,15 @@ bool CFinalizedBudgetVote::SignatureValid()
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
std::string CBudgetManager::ToString() const
|
||||
{
|
||||
std::ostringstream info;
|
||||
|
||||
info << "Proposals: " << (int)mapProposals.size() <<
|
||||
", Budgets: " << (int)mapFinalizedBudgets.size();
|
||||
|
||||
return info.str();
|
||||
}
|
||||
|
||||
|
||||
|
@ -133,7 +133,7 @@ public:
|
||||
mapSeenFinalizedBudgetVotes.clear();
|
||||
}
|
||||
void CheckAndRemove();
|
||||
std::string ToString() {return "not implemented";}
|
||||
std::string ToString() const;
|
||||
|
||||
|
||||
ADD_SERIALIZE_METHODS;
|
||||
|
Loading…
Reference in New Issue
Block a user