Function apply_balance_change

Source
fn apply_balance_change(
    (finalized_balance, finalized_received): (Amount<NonNegative>, u64),
    (chain_balance_change, chain_received_change): (Amount<NegativeAllowed>, u64),
) -> Result<(Amount<NonNegative>, u64)>
Expand description

Add the supplied finalized and non-finalized balances together, and return the result.