Skip to content

Commit

Permalink
change variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
warittornc committed Oct 25, 2024
1 parent f659921 commit c66284f
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions bothan-core/src/manager/crypto_asset_info/price/tasks.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,16 @@ pub async fn get_signal_price_states<'a>(
info!("signal {}: {} ", id, price);
cache.set_available(id, price);
}
Err(Error::PrerequisiteRequired(MissingPrerequisiteError { ids })) => {
debug!("prerequisites required for signal {}: {:?}", id, ids);
Err(Error::PrerequisiteRequired(MissingPrerequisiteError {
ids: prerequisite_ids,
})) => {
debug!(
"prerequisites required for signal {}: {:?}",
id, prerequisite_ids
);
queue.push_front(id);
for id in ids {
queue.push_front(id)
for prerequisite_id in prerequisite_ids {
queue.push_front(prerequisite_id)
}
}
Err(Error::InvalidSignal) => {
Expand Down

0 comments on commit c66284f

Please sign in to comment.