mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-26 14:05:51 +00:00
Change by-value to by-reference to persist vote
This commit is contained in:
committed by
Nik Bougalis
parent
e5275b8577
commit
21a3f4a5b5
@@ -425,7 +425,7 @@ AmendmentTableImpl::AmendmentTableImpl(
|
|||||||
}
|
}
|
||||||
else // up-vote
|
else // up-vote
|
||||||
{
|
{
|
||||||
auto s = add(amend_hash, lock);
|
AmendmentState& s = add(amend_hash, lock);
|
||||||
|
|
||||||
JLOG(j_.debug()) << "Amendment {" << *amendment_name << ", "
|
JLOG(j_.debug()) << "Amendment {" << *amendment_name << ", "
|
||||||
<< amend_hash << "} is upvoted.";
|
<< amend_hash << "} is upvoted.";
|
||||||
|
|||||||
Reference in New Issue
Block a user