diff --git a/bsx/setup.sh b/bsx/setup.sh index b3ba1b7..f1e989f 100755 --- a/bsx/setup.sh +++ b/bsx/setup.sh @@ -42,17 +42,13 @@ enable_tor() { if [[ "$particl_mnemonic" && "$monerod_addr" ]]; then # Restore seed PARTICL_MNEMONIC=$particl_mnemonic - basicswap-prepare --datadir=$SWAP_DATADIR --particl_mnemonic="$PARTICL_MNEMONIC" - # Add coins and use a remote monero node XMR_RPC_HOST=$monerod_addr BASE_XMR_RPC_PORT=$monerod_port \ - basicswap-prepare --datadir=$SWAP_DATADIR --addcoin=monero,wownero --xmrrestoreheight=$CURRENT_XMR_HEIGHT --wowrestoreheight=600000 + basicswap-prepare --datadir=$SWAP_DATADIR --withcoins=monero,wownero --xmrrestoreheight=$CURRENT_XMR_HEIGHT --wowrestoreheight=600000 --particl_mnemonic="$PARTICL_MNEMONIC" enable_tor elif [[ "$particl_mnemonic" ]]; then # Restore seed PARTICL_MNEMONIC=$particl_mnemonic - basicswap-prepare --datadir=$SWAP_DATADIR --particl_mnemonic="$PARTICL_MNEMONIC" - # Add coins using local nodes - basicswap-prepare --datadir=$SWAP_DATADIR --addcoin=monero,wownero --xmrrestoreheight=$CURRENT_XMR_HEIGHT --wowrestoreheight=600000 + basicswap-prepare --datadir=$SWAP_DATADIR --withcoins=monero,wownero --xmrrestoreheight=$CURRENT_XMR_HEIGHT --wowrestoreheight=600000 --particl_mnemonic="$PARTICL_MNEMONIC" enable_tor elif [[ "$monerod_addr" ]]; then # Setup new install and use a remote monero node diff --git a/bsx/update.sh b/bsx/update.sh index 2cd07d4..89fd33e 100755 --- a/bsx/update.sh +++ b/bsx/update.sh @@ -3,7 +3,7 @@ cd $SWAP_DATADIR/basicswap # Download updated scripts echo "Updating basicswap-bash scripts" && sleep 1 -git clone https://github.com/nahuhh/basicswap-bash -b dev +git clone https://github.com/nahuhh/basicswap-bash cd basicswap-bash # Move scripts