From 8aaa365e460d243ada7629fa2d42489deb642113 Mon Sep 17 00:00:00 2001 From: Ubuntu Date: Fri, 26 Mar 2021 17:14:05 +0000 Subject: [PATCH] bypass validated and hasLedger checks --- reporting/ETLSource.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reporting/ETLSource.cpp b/reporting/ETLSource.cpp index c98d27050..35b07ff2f 100644 --- a/reporting/ETLSource.cpp +++ b/reporting/ETLSource.cpp @@ -622,7 +622,7 @@ ETLLoadBalancer::fetchLedger(uint32_t ledgerSequence, bool getObjects) auto [status, data] = source->fetchLedger(ledgerSequence, getObjects); response = std::move(data); - if (status.ok() && response.validated()) + if (status.ok() && (response.validated()|| true)) { BOOST_LOG_TRIVIAL(info) << "Successfully fetched ledger = " << ledgerSequence @@ -819,7 +819,7 @@ ETLLoadBalancer::execute(Func f, uint32_t ledgerSequence) << __func__ << " : " << "Attempting to execute func. ledger sequence = " << ledgerSequence << " - source = " << source->toString(); - if (source->hasLedger(ledgerSequence)) + if (source->hasLedger(ledgerSequence)|| true) { bool res = f(source); if (res)