mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Copy the correct hash
This commit is contained in:
@@ -41,7 +41,7 @@ bool ValidationCollection::addValidation(const SerializedValidation::pointer& va
|
||||
it->second = val;
|
||||
else if (val->getSignTime() > it->second->getSignTime())
|
||||
{
|
||||
val->setPreviousHash(it->second->getPreviousHash());
|
||||
val->setPreviousHash(it->second->getLedgerHash());
|
||||
mStaleValidations.push_back(it->second);
|
||||
it->second = val;
|
||||
condWrite();
|
||||
|
||||
Reference in New Issue
Block a user