From ff42d6b84b270df58641d010f0eadac8d98df349 Mon Sep 17 00:00:00 2001 From: Chris Marslender Date: Fri, 31 May 2024 09:13:22 -0500 Subject: [PATCH] Enable setting spam amount for wallet --- docker-entrypoint.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docker-entrypoint.sh b/docker-entrypoint.sh index 02ed206..6485632 100755 --- a/docker-entrypoint.sh +++ b/docker-entrypoint.sh @@ -227,6 +227,13 @@ if [[ -n ${trusted_cidrs} ]]; then ' "$CHIA_ROOT/config/config.yaml" fi +if [[ -n ${xch_spam_amount} ]]; then + echo "Setting xch spam amount in config.yaml to value: $xch_spam_amount" + yq -i ' + .wallet.xch_spam_amount = env(xch_spam_amount) + ' "$CHIA_ROOT/config/config.yaml" +fi + if [[ ${log_to_file} != 'true' ]]; then sed -i 's/log_stdout: false/log_stdout: true/g' "$CHIA_ROOT/config/config.yaml" else