verity_ic::remittance::utils

Function update_balance

source
pub fn update_balance(new_remittance: &DataModel, dc_canister: Principal)
Expand description

Updates the balance for a specific account in a DC canister within the remittance mapping.

ยงParameters

  • new_remittance: The new remittance data model.
  • dc_canister: The principal of the DC canister.