Skip to content

Commit

Permalink
fix: hotkey
Browse files Browse the repository at this point in the history
  • Loading branch information
Samuel Dare committed Jul 12, 2024
1 parent 7b84d3c commit 2455082
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pallets/subtensor/src/swap.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ impl<T: Config> Pallet<T> {
let coldkey = ensure_signed(origin)?;

ensure!(
!Self::coldkey_in_arbitration(&old_coldkey),
!Self::coldkey_in_arbitration(&old_hotkey),
Error::<T>::ColdkeyIsInArbitration
);

Expand Down

0 comments on commit 2455082

Please sign in to comment.