mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-22 12:05:53 +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
|
||||
{
|
||||
auto s = add(amend_hash, lock);
|
||||
AmendmentState& s = add(amend_hash, lock);
|
||||
|
||||
JLOG(j_.debug()) << "Amendment {" << *amendment_name << ", "
|
||||
<< amend_hash << "} is upvoted.";
|
||||
|
||||
Reference in New Issue
Block a user