File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed
Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -178,9 +178,7 @@ impl MuxKeysLoader {
178178
179179 fetch_lido_registry_keys ( rpc_url, chain, U256 :: from ( * node_operator_id) ) . await
180180 }
181- NORegistry :: SSV => {
182- fetch_ssv_registry_keys ( chain, U256 :: from ( * node_operator_id) ) . await
183- }
181+ NORegistry :: SSV => fetch_ssv_pubkeys ( chain, U256 :: from ( * node_operator_id) ) . await ,
184182 } ,
185183 }
186184 }
@@ -271,7 +269,7 @@ async fn fetch_lido_registry_keys(
271269 Ok ( keys)
272270}
273271
274- async fn fetch_ssv_registry_keys (
272+ async fn fetch_ssv_pubkeys (
275273 chain : Chain ,
276274 node_operator_id : U256 ,
277275) -> eyre:: Result < Vec < BlsPublicKey > > {
@@ -380,7 +378,7 @@ mod tests {
380378 let chain = Chain :: Holesky ;
381379 let node_operator_id = U256 :: from ( 200 ) ;
382380
383- let pubkeys = fetch_ssv_registry_keys ( chain, node_operator_id) . await ?;
381+ let pubkeys = fetch_ssv_pubkeys ( chain, node_operator_id) . await ?;
384382
385383 assert_eq ! ( pubkeys. len( ) , 3 ) ;
386384
You can’t perform that action at this time.
0 commit comments