Skip to content

Commit

Permalink
fix: env name for lockbox
Browse files Browse the repository at this point in the history
  • Loading branch information
DhananjayPurohit committed Jun 3, 2024
1 parent 1ccdebc commit 931eee0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docker-compose-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ services:
context: .
dockerfile: ./server/Dockerfile
environment:
LOCKBOX: http://mercurylayer_enclave-sgx_1:18080
LOCKBOX_URL: http://mercurylayer_enclave-sgx_1:18080
NETWORK: regtest
LOCKHEIGHT_INIT: 1000
LH_DECREMENT: 10
Expand Down
2 changes: 1 addition & 1 deletion server/.env_example
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
LOCKBOX =
LOCKBOX_URL =
NETWORK =
LOCKHEIGHT_INIT =
LH_DECREMENT =
Expand Down
2 changes: 1 addition & 1 deletion server/src/server_config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ impl ServerConfig {
};

ServerConfig {
lockbox: Some(get_env_or_config("lockbox", "LOCKBOX")),
lockbox: Some(get_env_or_config("lockbox", "LOCKBOX_URL")),
network: get_env_or_config("network", "BITCOIN_NETWORK"),
lockheight_init: get_env_or_config("lockheight_init", "LOCKHEIGHT_INIT").parse::<u32>().unwrap(),
lh_decrement: get_env_or_config("lh_decrement", "LH_DECREMENT").parse::<u32>().unwrap(),
Expand Down

0 comments on commit 931eee0

Please sign in to comment.