Skip to content

Commit e4fed65

Browse files
CopilotSteake
andcommitted
Use CARGO_PKG_VERSION macro for wallet version command
Co-authored-by: Steake <530040+Steake@users.noreply.github.com>
1 parent 0bdf946 commit e4fed65

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

crates/bitcell-wallet/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ fn main() {
167167
println!("Note: Connect to a node to fetch actual balances.");
168168
}
169169
Commands::Version => {
170-
println!("bitcell-wallet v0.1.0");
170+
println!("bitcell-wallet v{}", env!("CARGO_PKG_VERSION"));
171171
println!("BitCell blockchain wallet");
172172
}
173173
}

0 commit comments

Comments
 (0)