Skip to content

Commit 2455082

Browse files
author
Samuel Dare
committed
fix: hotkey
1 parent 7b84d3c commit 2455082

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pallets/subtensor/src/swap.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ impl<T: Config> Pallet<T> {
3333
let coldkey = ensure_signed(origin)?;
3434

3535
ensure!(
36-
!Self::coldkey_in_arbitration(&old_coldkey),
36+
!Self::coldkey_in_arbitration(&old_hotkey),
3737
Error::<T>::ColdkeyIsInArbitration
3838
);
3939

0 commit comments

Comments
 (0)