getBlockTime RPC method now falls back to BigTable in all cases (#14207)
(cherry picked from commit 0090106f60
)
Co-authored-by: Michael Vines <mvines@gmail.com>
This commit is contained in:
@ -772,7 +772,7 @@ impl JsonRpcRequestProcessor {
|
||||
{
|
||||
let result = self.blockstore.get_block_time(slot);
|
||||
self.check_blockstore_root(&result, slot)?;
|
||||
if result.is_err() {
|
||||
if result.is_err() || matches!(result, Ok(None)) {
|
||||
if let Some(bigtable_ledger_storage) = &self.bigtable_ledger_storage {
|
||||
return Ok(self
|
||||
.runtime_handle
|
||||
|
Reference in New Issue
Block a user