We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2455082 commit f49bb55Copy full SHA for f49bb55
pallets/subtensor/src/swap.rs
@@ -33,7 +33,7 @@ impl<T: Config> Pallet<T> {
33
let coldkey = ensure_signed(origin)?;
34
35
ensure!(
36
- !Self::coldkey_in_arbitration(&old_hotkey),
+ !Self::coldkey_in_arbitration(&coldkey),
37
Error::<T>::ColdkeyIsInArbitration
38
);
39
0 commit comments