URI: 
       ttest_breach_with_spent_htlc: do not overwrite default_wallet, load toxic_wallet instead - electrum - Electrum Bitcoin wallet
  HTML git clone https://git.parazyd.org/electrum
   DIR Log
   DIR Files
   DIR Refs
   DIR Submodules
       ---
   DIR commit 3e8080b669306894b572785e2d6ef6226fda7e90
   DIR parent 10e186c1d312f1a13f6d86246b0397dbe779afdd
  HTML Author: ThomasV <thomasv@electrum.org>
       Date:   Fri, 30 Aug 2019 17:40:09 +0200
       
       ttest_breach_with_spent_htlc: do not overwrite default_wallet, load toxic_wallet instead
       
       Diffstat:
         M electrum/tests/regtest/regtest.sh   |       3 +--
       
       1 file changed, 1 insertion(+), 2 deletions(-)
       ---
   DIR diff --git a/electrum/tests/regtest/regtest.sh b/electrum/tests/regtest/regtest.sh
       t@@ -276,10 +276,9 @@ if [[ $1 == "breach_with_spent_htlc" ]]; then
            # (to_local needs to_self_delay blocks; htlc needs whatever we put in invoice)
            new_blocks 150
            $alice stop
       -    cp /tmp/alice/regtest/wallets/toxic_wallet /tmp/alice/regtest/wallets/default_wallet
            $alice daemon start
            sleep 1
       -    $alice load_wallet
       +    $alice load_wallet -w /tmp/alice/regtest/wallets/toxic_wallet
            # wait until alice has spent both ctx outputs
            echo "alice spends to_local and htlc outputs"
            wait_until_spent $ctx_id 0