File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -91,7 +91,10 @@ impl StakingPrecompile {
91
91
}
92
92
93
93
#[ 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 > {
95
98
let ( coldkey, _) = parse_pubkey ( coldkey_h256. as_bytes ( ) ) ?;
96
99
97
100
// get total stake of coldkey
@@ -107,7 +110,10 @@ impl StakingPrecompile {
107
110
}
108
111
109
112
#[ 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 > {
111
117
let ( hotkey, _) = parse_pubkey ( hotkey_h256. as_bytes ( ) ) ?;
112
118
113
119
// get total stake of hotkey
You can’t perform that action at this time.
0 commit comments