menu.wallet.sh: use GEN function

This commit is contained in:
openoms 2021-07-12 11:13:52 +01:00
parent 8f49af65c0
commit dfc006e7ab
No known key found for this signature in database
GPG key ID: 5BFB77609B081B65

View file

@ -44,17 +44,7 @@ CHOICE=$(dialog \
case $CHOICE in
GEN)
clear
echo
. /home/joinmarket/joinmarket-clientserver/jmvenv/bin/activate
if [ "${RPCoverTor}" = "on" ]; then
torify python /home/joinmarket/joinmarket-clientserver/scripts/wallet-tool.py generate
else
python /home/joinmarket/joinmarket-clientserver/scripts/wallet-tool.py generate
fi
echo
echo "Press ENTER to return to the menu"
read key;;
menu_GEN;;
DISPLAY)
menu_DISPLAY;;
HISTORY)