File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -38,6 +38,7 @@ pub fn init_tracing() {
3838
3939pub struct TestServices {
4040 cert_key : ( Vec < u8 > , Vec < u8 > ) ,
41+ /// redis is an implicit dependency of the directory service
4142 #[ allow( dead_code) ]
4243 redis : ( u16 , Container < ' static , Redis > ) ,
4344 directory : ( u16 , Option < JoinHandle < Result < ( ) , BoxSendSyncError > > > ) ,
@@ -114,7 +115,7 @@ pub async fn init_directory(
114115 payjoin_directory:: listen_tcp_with_tls_on_free_port ( db_host, timeout, local_cert_key) . await
115116}
116117
117- /// generates or gets a DER encoded localhost cert and key.
118+ /// generate or get a DER encoded localhost cert and key.
118119pub fn local_cert_key ( ) -> ( Vec < u8 > , Vec < u8 > ) {
119120 let cert =
120121 rcgen:: generate_simple_self_signed ( vec ! [ "0.0.0.0" . to_string( ) , "localhost" . to_string( ) ] )
You can’t perform that action at this time.
0 commit comments