Function aggregate_coins

Source
pub fn aggregate_coins(coins: Vec<Coin>) -> StdResult<Vec<Coin>>
Expand description

Aggregates coins from two vectors, summing up the amounts of coins that are the same.