Skip to content

Commit

Permalink
feat: sort mints
Browse files Browse the repository at this point in the history
  • Loading branch information
rvcas committed Jul 15, 2024
1 parent 7536a3c commit e03e374
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion pallas-traverse/src/tx.rs
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,11 @@ impl<'b> MultiEraTx<'b> {
}

pub fn mints_sorted_set(&self) -> Vec<MultiEraPolicyAssets> {
todo!()
let mut raw = self.mints();

raw.sort_by_key(|m| *m.policy());

raw
}

/// Return the transaction reference inputs
Expand Down

0 comments on commit e03e374

Please sign in to comment.