File tree Expand file tree Collapse file tree 2 files changed +0
-15
lines changed
Expand file tree Collapse file tree 2 files changed +0
-15
lines changed Original file line number Diff line number Diff line change @@ -437,11 +437,6 @@ mod pallet {
437437 Error :: <T >:: SubNetworkDoesNotExist
438438 ) ;
439439
440- ensure ! (
441- T :: SubnetInfo :: is_subtoken_enabled( netuid. into( ) ) ,
442- Error :: <T >:: SubtokenDisabled
443- ) ;
444-
445440 // Remove liquidity
446441 let result = Self :: do_remove_liquidity ( netuid, & coldkey, position_id) ?;
447442
Original file line number Diff line number Diff line change @@ -1969,16 +1969,6 @@ fn test_swap_subtoken_disabled() {
19691969 Error :: <Test >:: SubtokenDisabled
19701970 ) ;
19711971
1972- assert_noop ! (
1973- Pallet :: <Test >:: remove_liquidity(
1974- RuntimeOrigin :: signed( OK_COLDKEY_ACCOUNT_ID ) ,
1975- OK_HOTKEY_ACCOUNT_ID ,
1976- netuid,
1977- PositionId :: from( 0 ) ,
1978- ) ,
1979- Error :: <Test >:: SubtokenDisabled
1980- ) ;
1981-
19821972 assert_noop ! (
19831973 Pallet :: <Test >:: modify_position(
19841974 RuntimeOrigin :: signed( OK_COLDKEY_ACCOUNT_ID ) ,
You can’t perform that action at this time.
0 commit comments