mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Remove validation cookie support code
This commit is contained in:
committed by
Nikolaos D. Bougalis
parent
04f1388860
commit
6156ff3eb7
@@ -320,17 +320,9 @@ handleNewValidation(Application& app,
|
||||
if(j.debug())
|
||||
dmp(j.debug(), to_string(outcome));
|
||||
|
||||
auto const seq = val->getFieldU32(sfLedgerSequence);
|
||||
|
||||
if (outcome == ValStatus::badCookie && j.error())
|
||||
{
|
||||
dmp(j.error(),
|
||||
"already received validation for seq " + to_string(seq) +
|
||||
" with different cookie; are two validators running with "
|
||||
"the same keys?");
|
||||
}
|
||||
if (outcome == ValStatus::badSeq && j.warn())
|
||||
{
|
||||
auto const seq = val->getFieldU32(sfLedgerSequence);
|
||||
dmp(j.warn(),
|
||||
"already validated sequence at or past " + to_string(seq));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user