Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
wangjj9219 committed Oct 12, 2023
1 parent 24c8375 commit d6f16cd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
7 changes: 1 addition & 6 deletions lib/stable-asset/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -303,12 +303,7 @@ pub mod pallet {
use crate::WeightInfo;
use codec::Codec;
use frame_support::traits::tokens::fungibles;
use frame_support::{
dispatch::DispatchResult,
pallet_prelude::*,
traits::EnsureOrigin,
PalletId,
};
use frame_support::{dispatch::DispatchResult, pallet_prelude::*, traits::EnsureOrigin, PalletId};
use frame_system::pallet_prelude::*;
use sp_runtime::{
traits::{CheckedAdd, CheckedDiv, CheckedMul, CheckedSub, One, Zero},
Expand Down
2 changes: 1 addition & 1 deletion lib/stable-asset/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ use crate::{
mock::*, Error, MintResult, RedeemMultiResult, RedeemProportionResult, RedeemSingleResult, StableAssetPoolInfo,
SwapResult,
};
use frame_support::traits::fungibles::{Inspect, Mutate};
use frame_support::{assert_noop, assert_ok};
use sp_runtime::DispatchError;
use frame_support::traits::fungibles::{Inspect, Mutate};

pub const BALANCE_OFF: u128 = 1;

Expand Down

0 comments on commit d6f16cd

Please sign in to comment.