forked from lthn/blockchain
changed fields names one more time
This commit is contained in:
parent
4762e39c77
commit
63354b91c3
2 changed files with 3 additions and 3 deletions
|
|
@ -2847,7 +2847,7 @@ bool blockchain_storage::get_pos_votes(uint64_t start_index, uint64_t end_index,
|
|||
for (const auto s_entry : summary)
|
||||
{
|
||||
r.votes.push_back(s_entry.second);
|
||||
r.votes.back().proposal_name = s_entry.first;
|
||||
r.votes.back().proposal_id = s_entry.first;
|
||||
}
|
||||
|
||||
return true;
|
||||
|
|
|
|||
|
|
@ -156,12 +156,12 @@ namespace currency
|
|||
|
||||
struct vote_on_proposal
|
||||
{
|
||||
std::string proposal_name;
|
||||
std::string proposal_id;
|
||||
uint64_t yes;
|
||||
uint64_t no;
|
||||
|
||||
BEGIN_KV_SERIALIZE_MAP()
|
||||
KV_SERIALIZE(proposal_name)
|
||||
KV_SERIALIZE(proposal_id)
|
||||
KV_SERIALIZE(yes)
|
||||
KV_SERIALIZE(no)
|
||||
END_KV_SERIALIZE_MAP()
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue