/// Burn funds and log but ignore any errors. When canister creation /
/// topping up succeeded, we don't want to reject the transaction
/// notification because then it could be retried.
Burn funds and log but ignore any errors. When canister creation
topping up succeeded, we don't want to reject the transaction
notification because then it could be retried.
Burn funds and log but ignore any errors . When canister creation topping up succeeded we don ' t want to reject the transaction notification because then it could be retried .
async fn burn_and_log(
    tn: &TransactionNotification,
    amount: Tokens,
    ledger_canister_id: &CanisterId,
) {
    if let Err(err) = burn(tn, amount, ledger_canister_id).await {
        print(format!("Burning {} ICPTs failed: {}", tn.amount, err));
    }
}
async fn burn_and_log ( tn : & TransactionNotification , amount : Tokens , ledger_canister_id : & CanisterId , ) { if let Err ( err ) = burn ( tn , amount , ledger_canister_id ) . await { print ( format ! ( " " tn amount err ) ) ; } }
Burn funds and log but ignore any errors.
Burn funds and log but ignore any errors .
tn
&TransactionNotification
amount
Tokens
ledger_canister_id
&CanisterId