File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed
Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -136,10 +136,16 @@ impl std::fmt::Debug for Arguments {
136136 . field ( "listen" , & self . listen )
137137 . field (
138138 "server_key" ,
139- & self . server_key . as_ref ( ) . map ( |_| "<redacted>" ) ,
139+ & self . server_key . as_ref ( ) . map ( |_| "Some( <redacted>) " ) ,
140140 ) // Show presence without revealing key
141- . field ( "wif_key" , & self . wif_key . as_ref ( ) . map ( |_| "<redacted>" ) ) // Show presence without revealing key
142- . field ( "rpc_user_password" , & self . rpc_user_password )
141+ . field (
142+ "wif_key" ,
143+ & self . wif_key . as_ref ( ) . map ( |_| "Some(<redacted>)" ) ,
144+ ) // Show presence without revealing key
145+ . field (
146+ "rpc_user_password" ,
147+ & self . rpc_user_password . as_ref ( ) . map ( |_| "Some(<redacted>)" ) ,
148+ )
143149 . field ( "max_addresses" , & self . max_addresses )
144150 . field ( "add_cors" , & self . add_cors )
145151 . field ( "derivation_cache_capacity" , & self . derivation_cache_capacity )
You can’t perform that action at this time.
0 commit comments