Function sn_client::utils::test_utils::calculate_new_balance [−][src]
pub fn calculate_new_balance(
balance: Token,
transferred_coins: Token
) -> Result<Token>
Helper function to calculate the total cost of expenditure by adding number of mutations and amount of transferred coins if any.