mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Be more aggressive about avoiding publishing ledger holes. Make the logic simpler and more sensible.
This commit is contained in:
@@ -76,7 +76,7 @@ bool ValidationCollection::addValidation(const SerializedValidation::pointer& va
|
||||
cLog(lsINFO) << "Val for " << hash << " from " << signer.humanNodePublic()
|
||||
<< " added " << (val->isTrusted() ? "trusted/" : "UNtrusted/") << (isCurrent ? "current" : "stale");
|
||||
if (val->isTrusted())
|
||||
theApp->getLedgerMaster().checkPublish(hash);
|
||||
theApp->getLedgerMaster().checkAccept(hash);
|
||||
return isCurrent;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user