Skip to content

Commit 9f64385

Browse files
committed
fix clippy
1 parent 9688e03 commit 9f64385

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

runtime/src/precompiles/staking.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ impl StakingPrecompile {
105105
}
106106

107107
fn get_stake(data: &[u8]) -> PrecompileResult {
108-
let (hotkey, coldkey) = Self::parse_hotkey_coldkey(data)?.into();
108+
let (hotkey, coldkey) = Self::parse_hotkey_coldkey(data)?;
109109

110110
let stake = pallet_subtensor::Pallet::<Runtime>::get_stake_for_coldkey_and_hotkey(
111111
&hotkey.into(),

0 commit comments

Comments
 (0)