Skip to content

Commit

Permalink
fix(inx): prevent writing potentially wrong node configuration to db (#…
Browse files Browse the repository at this point in the history
…1208)

* fix

* remove the call from init
  • Loading branch information
Alex6323 authored Mar 22, 2023
1 parent c739bd1 commit 2c33e3f
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/bin/inx-chronicle/inx/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -161,11 +161,6 @@ impl InxWorker {
node_configuration.base_token.ticker_symbol
);

self.db
.collection::<ConfigurationUpdateCollection>()
.upsert_node_configuration(node_status.ledger_index, node_configuration.into())
.await?;

if let Some(latest) = self
.db
.collection::<ProtocolUpdateCollection>()
Expand Down

0 comments on commit 2c33e3f

Please sign in to comment.