Skip to content

Commit

Permalink
Print node version
Browse files Browse the repository at this point in the history
  • Loading branch information
jjyr committed Dec 19, 2024
1 parent b8466ef commit 9562b8d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions mutiny-wasm/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,9 @@ impl MutinyWallet {
let safe_mode = safe_mode.unwrap_or(false);
let logger = Arc::new(MutinyLogger::memory_only());

let version = env!("CARGO_PKG_VERSION");
log_info!(logger, "Node version {version}");

let cipher = password
.as_ref()
.filter(|p| !p.is_empty())
Expand Down

0 comments on commit 9562b8d

Please sign in to comment.