docker fix

This commit is contained in:
2024-07-26 16:30:45 +03:00
parent 1c9d847d64
commit 04aa3c7ad8
4 changed files with 137 additions and 55 deletions

View File

@@ -135,7 +135,7 @@ generate_btc_key()
B=$(tput bold ; tput setaf 1)
N=$(tput sgr0)
if [ -z "$_DM_BITCOIN" ]
if [ -z "$_DM_BITCOIN" -a -z "$DM_BITCOIN" ]
then
## Generate bitcoin key pair
PRIVKEY="$(cat /dev/random | tr -cd "[:digit:]" | head -c 64)"