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