Skip to content

Commit

Permalink
fixup! Merge branch 'bat/feature/disable-oracle-gov' (#1764)
Browse files Browse the repository at this point in the history
  • Loading branch information
tzemanovic committed Nov 28, 2023
1 parent 5a3af44 commit a111696
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions apps/src/lib/node/ledger/shell/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1018,10 +1018,10 @@ where
);
return;
}
let config = EthereumOracleConfig::read(&self.wl_storage).expect(
"The oracle config must be present in storage, since the \
bridge is enabled",
);
let Some(config) = EthereumOracleConfig::read(&self.wl_storage) else {
tracing::info!("Not starting oracle as the Ethereum bridge config couldn't be found in storage");
return;
};
let active =
if !self.wl_storage.ethbridge_queries().is_bridge_active() {
if !changed_keys
Expand Down

0 comments on commit a111696

Please sign in to comment.