Skip to content

Commit

Permalink
Fixed spec generation check (#691)
Browse files Browse the repository at this point in the history
* Fixed spec generation check

* Fixed Rust formatting
  • Loading branch information
pgolovkin authored Mar 13, 2024
1 parent 442eef3 commit 8d8445a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/src/updater/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ pub(crate) fn update_from_node(
let mut error_fetching_data = false;
for chain in config.chains {
let encryption = get_crypto(&chain);
if !specs_qrs.contains_key(chain.name.as_str()) {
if !specs_qrs.contains_key(&chain.portal_id()) {
let specs_res = fetcher.fetch_specs(&chain);
if specs_res.is_err() {
error_fetching_data = true;
Expand Down

0 comments on commit 8d8445a

Please sign in to comment.