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 9688e03 commit 9f64385Copy full SHA for 9f64385
runtime/src/precompiles/staking.rs
@@ -105,7 +105,7 @@ impl StakingPrecompile {
105
}
106
107
fn get_stake(data: &[u8]) -> PrecompileResult {
108
- let (hotkey, coldkey) = Self::parse_hotkey_coldkey(data)?.into();
+ let (hotkey, coldkey) = Self::parse_hotkey_coldkey(data)?;
109
110
let stake = pallet_subtensor::Pallet::<Runtime>::get_stake_for_coldkey_and_hotkey(
111
&hotkey.into(),
0 commit comments