txoo: compose env var set network not chain

- no need of using switch in entrypoint
- directly set the network instead of chain
Signed-off-by: Lakshya Singh <lakshay.singh1108@gmail.com>
This commit is contained in:
Lakshya Singh
2023-10-31 21:24:11 +05:30
parent 9cb9062ce8
commit b02b64ece1
3 changed files with 5 additions and 13 deletions

View File

@@ -28,4 +28,5 @@ services:
command:
- -r http://rpcuser:VLSsigner1@bitcoind:38332
environment:
- BITCOIN_CHAIN=regtest
- BITCOIN_NETWORK=regtest