Fix path to joinmarket settings file update marker

This commit is contained in:
Taylor Helsper 2023-12-20 22:37:03 -06:00
parent 6feb03622a
commit 572b58725d

View File

@ -450,7 +450,7 @@ fi
JOINMARKET_CONFIG_UPDATE_NUM=1
if [ ! -f /mnt/hdd/mynode/joinmarket/update_settings_$JOINMARKET_CONFIG_UPDATE_NUM ]; then
cp /usr/share/mynode/joinmarket.cfg /mnt/hdd/mynode/joinmarket/joinmarket.cfg
touch /mnt/hdd/mynode/rtl/update_settings_$JOINMARKET_CONFIG_UPDATE_NUM
touch /mnt/hdd/mynode/joinmarket/update_settings_$JOINMARKET_CONFIG_UPDATE_NUM
fi
sed -i "s/#max_cj_fee_abs = x/max_cj_fee_abs = 2000/g" /mnt/hdd/mynode/joinmarket/joinmarket.cfg
sed -i "s/#max_cj_fee_rel = x/max_cj_fee_rel = 0.001/g" /mnt/hdd/mynode/joinmarket/joinmarket.cfg