This repository was archived by the owner on Oct 23, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -146,9 +146,9 @@ pub fn init(
146
146
147
147
/// The facade for the configuration of the API.
148
148
pub struct Config {
149
- /// Keypair for the ipfs node
149
+ /// Keypair for the ipfs node.
150
150
pub keypair : ipfs:: Keypair ,
151
- /// Peer addresses for the ipfs node
151
+ /// Peer addresses for the ipfs node.
152
152
pub swarm : Vec < Multiaddr > ,
153
153
/// Address to run the API daemon on.
154
154
pub api_addr : Multiaddr ,
@@ -224,7 +224,7 @@ fn pem_to_der(bytes: &[u8]) -> Vec<u8> {
224
224
use multibase:: Base :: Base64Pad ;
225
225
226
226
// Initially tried this with `pem` crate but it will give back bytes for the ascii, but we need
227
- // the ascii for multibase', s base64pad decoding.
227
+ // the ascii for multibase's base64pad decoding.
228
228
let mut base64_encoded = String :: new ( ) ;
229
229
230
230
let pem = std:: str:: from_utf8 ( & bytes) . expect ( "PEM should be utf8" ) ;
Original file line number Diff line number Diff line change @@ -73,7 +73,6 @@ fn main() {
73
73
std:: process:: exit ( 1 ) ;
74
74
}
75
75
76
- // let result = config::initialize(&home, bits, profile);
77
76
let result = config:: init ( & home, bits, profile) ;
78
77
79
78
match result {
You can’t perform that action at this time.
0 commit comments