Remove redundant fields from dex-pallet, add cargo machete ignores

This commit is contained in:
Luke Parker
2023-12-11 07:47:23 -05:00
parent 11fdb6da1d
commit 4de4c186b1
12 changed files with 31 additions and 69 deletions

View File

@@ -52,9 +52,7 @@ fn create_coin<T: Config>(coin: &Coin) -> (T::AccountId, AccountIdLookupOf<T>) {
(caller, caller_lookup)
}
fn create_coin_and_pool<T: Config>(
coin: &Coin,
) -> (PoolCoinId, T::AccountId, AccountIdLookupOf<T>) {
fn create_coin_and_pool<T: Config>(coin: &Coin) -> (Coin, T::AccountId, AccountIdLookupOf<T>) {
let (caller, caller_lookup) = create_coin::<T>(coin);
assert_ok!(Dex::<T>::create_pool(*coin));