From 25ca6d2ea15cec30752a1d4409f0d9949353517c Mon Sep 17 00:00:00 2001 From: AdamISZ Date: Tue, 27 Nov 2018 20:42:52 +0100 Subject: [PATCH] testing: allow auditing maker wallets in manual test --- test/ygrunner.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/test/ygrunner.py b/test/ygrunner.py index ff45c51..8a948ae 100644 --- a/test/ygrunner.py +++ b/test/ygrunner.py @@ -104,7 +104,14 @@ def test_start_ygs(setup_ygrunner, num_ygs, wallet_structures, mean_amt, mean_amt=mean_amt) #the sendpayment bot uses the last wallet in the list wallet = wallets[num_ygs]['wallet'] - print("Seed : " + wallets[num_ygs]['seed']) + print("\n\nTaker wallet seed : " + wallets[num_ygs]['seed']) + # for manual audit if necessary, show the maker's wallet seeds + # also (note this audit should be automated in future, see + # test_full_coinjoin.py in this directory) + print("\n\nMaker wallet seeds: ") + for i in range(num_ygs): + print("Maker seed: " + wallets[i]['seed']) + print("\n") #useful to see the utxos on screen sometimes sync_wallet(wallet, fast=True) print(wallet.get_utxos_by_mixdepth())