Skip to content

Commit

Permalink
Add package version number to constants.
Browse files Browse the repository at this point in the history
  • Loading branch information
cryptoquick committed Jul 21, 2023
1 parent 6752421 commit 6907728
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/constants.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ fn dot_env(key: &str) -> String {
}
}

pub const BMC_VERSION: &str = env!("CARGO_PKG_VERSION");

pub static ELECTRUM_TIMEOUT: u8 = 4;

static BITCOIN_EXPLORER_API_MAINNET: Lazy<RwLock<String>> =
Expand Down

0 comments on commit 6907728

Please sign in to comment.