Skip to content

Commit cd76892

Browse files
committed
chore: fmt
1 parent 34d921a commit cd76892

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

runtime/src/precompiles/staking.rs

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,10 @@ impl StakingPrecompile {
9191
}
9292

9393
#[precompile::public("getTotalColdkeyStake(bytes32)")]
94-
fn get_total_coldkey_stake(_handle: &mut impl PrecompileHandle, coldkey_h256: H256) -> EvmResult<U256> {
94+
fn get_total_coldkey_stake(
95+
_handle: &mut impl PrecompileHandle,
96+
coldkey_h256: H256,
97+
) -> EvmResult<U256> {
9598
let (coldkey, _) = parse_pubkey(coldkey_h256.as_bytes())?;
9699

97100
// get total stake of coldkey
@@ -107,7 +110,10 @@ impl StakingPrecompile {
107110
}
108111

109112
#[precompile::public("getTotalHotkeyStake(bytes32)")]
110-
fn get_total_hotkey_stake(_handle: &mut impl PrecompileHandle, hotkey_h256: H256) -> EvmResult<U256> {
113+
fn get_total_hotkey_stake(
114+
_handle: &mut impl PrecompileHandle,
115+
hotkey_h256: H256,
116+
) -> EvmResult<U256> {
111117
let (hotkey, _) = parse_pubkey(hotkey_h256.as_bytes())?;
112118

113119
// get total stake of hotkey

0 commit comments

Comments
 (0)