File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ source /home/joinmarket/joinin.conf
44source /home/joinmarket/_functions.sh
55
66# BASIC MENU INFO
7- HEIGHT=9
7+ HEIGHT=10
88WIDTH=58
99CHOICE_HEIGHT=20
1010TITLE=" Tools"
@@ -15,8 +15,9 @@ BACKTITLE="JoininBox GUI"
1515# Basic Options
1616OPTIONS+=(\
1717 JMCONF " Edit the joinmarket.cfg manually" \
18+ RESET " Reset the joinmarket.cfg to the defaults"
1819 CONNECT " Connect to a remote bitcoin node on mainnet" \
19- SIGNET " Switch to signet with local Bitcoin Core"
20+ SIGNET " Switch to signet with a local Bitcoin Core"
2021)
2122
2223CHOICE=$( dialog --clear \
@@ -34,6 +35,14 @@ case $CHOICE in
3435 sleep 1
3536 /home/joinmarket/menu.sh
3637 ;;
38+ RESET)
39+ echo " # Removing the joinmarket.cfg"
40+ rm -f /home/joinmarket/.joinmarket/joinmarket.cfg
41+ generateJMconfig
42+ echo " Returning to the menu..."
43+ sleep 1
44+ /home/joinmarket/menu.sh
45+ ;;
3746 CONNECT)
3847 /home/joinmarket/install.signet.sh off
3948 /home/joinmarket/menu.bitcoinrpc.sh
You can’t perform that action at this time.
0 commit comments