Skip to content

Commit 0306d83

Browse files
committed
create_wallet added description
1 parent 6b82bc4 commit 0306d83

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/utils.rs

+3
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,9 @@ mod tests {
193193
fs::remove_file(wallet_path).unwrap();
194194
}
195195
}
196+
197+
/// Create a wallet file with optional wallet content.
198+
/// Creates empty wallet file if content is None.
196199
fn create_wallet(wallet_path: &Path, content: Option<&str>) {
197200
if !wallet_path.exists() {
198201
fs::File::create(wallet_path).unwrap();

0 commit comments

Comments
 (0)