Skip to content

Commit

Permalink
fix reference
Browse files Browse the repository at this point in the history
  • Loading branch information
jedna committed Jan 15, 2025
1 parent 013de35 commit a653aa5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/station/impl/src/services/cycle_manager.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ use canfund::api::ledger::{CyclesLedgerCanister, IcLedgerCanister};
use canfund::manager::options::{FundManagerOptions, ObtainCyclesOptions};
use canfund::manager::record::CanisterRecord;
use canfund::manager::RegisterOpts;
use canfund::operations::obtain::{MintCycles, WithdrawFromLedger};
use canfund::operations::obtain::{MintCycles, WithdrawFromCyclesLedger};
use canfund::FundManager;
use ic_cdk::api::management_canister::main::CanisterId;
use ic_cdk::print;
Expand Down Expand Up @@ -136,7 +136,7 @@ fn get_obtain_cycle_config(strategy: &CycleObtainStrategy) -> Option<ObtainCycle
CycleObtainStrategy::WithdrawFromCyclesLedger { account_id } => {
if let Some(account) = ACCOUNT_REPOSITORY.get(&AccountKey { id: *account_id }) {
Some(ObtainCyclesOptions {
obtain_cycles: Arc::new(WithdrawFromLedger {
obtain_cycles: Arc::new(WithdrawFromCyclesLedger {
ledger: Arc::new(CyclesLedgerCanister::new(
MAINNET_CYCLES_LEDGER_CANISTER_ID,
)),
Expand Down

0 comments on commit a653aa5

Please sign in to comment.