Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Chralt <[email protected]>
  • Loading branch information
sea212 and Chralt98 authored Jan 31, 2024
1 parent c86ef75 commit 1e527aa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion zrml/asset-router/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ pub mod pallet {
}
}

safety_counter += 1;
safety_counter = safety_counter.saturating_add(1);
}
}

Expand Down
2 changes: 1 addition & 1 deletion zrml/asset-router/src/tests/managed_destroy.rs
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ fn adds_multi_assets_properly() {
}

#[test]
fn destroys_assets_fully_properly() {
fn destroys_assets_fully_works_properly() {
ExtBuilder::default().build().execute_with(|| {
let assets_raw = [(CAMPAIGN_ASSET, None), (CUSTOM_ASSET, None), (MARKET_ASSET, None)];
let assets = BTreeMap::from_iter(assets_raw.to_vec());
Expand Down

0 comments on commit 1e527aa

Please sign in to comment.