mirror of
https://github.com/Xahau/xahaud.git
synced 2026-07-24 07:30:10 +00:00
test(export): require acquired witness validation
This commit is contained in:
@@ -1400,7 +1400,9 @@ public:
|
||||
|
||||
// Four witness-ledger validations make that branch preferred. Peer 0
|
||||
// must never fully validate its local witness-less build and must
|
||||
// subsequently jump back to the witness-bearing history.
|
||||
// promote the acquired witness ledger before subsequent recovery.
|
||||
BEAST_EXPECT(
|
||||
peers[0]->fullyValidatedLedger.id() == witnessLedger.id());
|
||||
BEAST_EXPECT(
|
||||
peers[0]->fullyValidatedLedger.id() != witnesslessLedger.id());
|
||||
for (Peer* peer : peers)
|
||||
|
||||
Reference in New Issue
Block a user