File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -86,8 +86,8 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
8686 . unwrap_or_else ( || cli_config. keypair_path . clone ( ) ) ;
8787
8888 // Create a signer directly from the keypair path
89- let signer = solana_sdk :: signature :: read_keypair_file ( & keypair_path )
90- . unwrap_or_else ( |err| {
89+ let signer =
90+ solana_sdk :: signature :: read_keypair_file ( & keypair_path ) . unwrap_or_else ( |err| {
9191 eprintln ! ( "Error reading keypair file {}: {}" , keypair_path, err) ;
9292 exit ( 1 ) ;
9393 } ) ;
@@ -241,7 +241,7 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
241241 eprintln ! ( "No node subcommand provided" ) ;
242242 exit ( 1 ) ;
243243 } ;
244-
244+
245245 match node_sub_command {
246246 "list" => {
247247 // List all nodes
@@ -257,7 +257,9 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
257257 . get_one :: < String > ( "status" )
258258 . map ( |s| s. as_str ( ) )
259259 . unwrap_or ( "all" ) ;
260- let svm = node_sub_matches. get_one :: < String > ( "svm" ) . map ( |s| s. as_str ( ) ) ;
260+ let svm = node_sub_matches
261+ . get_one :: < String > ( "svm" )
262+ . map ( |s| s. as_str ( ) ) ;
261263 let json_output = node_sub_matches. contains_id ( "json" ) ;
262264
263265 match nodes:: list_all_nodes (
@@ -935,4 +937,4 @@ mod test {
935937 // Assert that the deserialized data matches the original
936938 assert_eq ! ( faux, in_faux) ;
937939 }
938- }
940+ }
You can’t perform that action at this time.
0 commit comments