Skip to content

Commit

Permalink
fix: var extract
Browse files Browse the repository at this point in the history
  • Loading branch information
rymnc committed Sep 30, 2024
1 parent 9d17cfa commit e9dfe85
Showing 1 changed file with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -100,11 +100,9 @@ where
.into();

let metadata_storage = StructuredStorage::new(gas_price_db.clone());

let (algo_updater, shared_algo) = initialize_algorithm(
get_default_metadata(&config, latest_block_height),
&metadata_storage,
)?;
let starting_metadata = get_default_metadata(&config, latest_block_height);
let (algo_updater, shared_algo) =
initialize_algorithm(starting_metadata, &metadata_storage)?;

let task = Self {
config,
Expand Down

0 comments on commit e9dfe85

Please sign in to comment.