diff --git a/tests/test_dlc.py b/tests/test_dlc.py index 8c4085dd..12cbb7bd 100644 --- a/tests/test_dlc.py +++ b/tests/test_dlc.py @@ -646,7 +646,7 @@ async def test_payout_dlc(wallet: Wallet, ledger: Ledger): # CLAIMING our victorious payout # Generating outputs amounts = [128] - secrets, rs, _ = await wallet.generate_n_secrets( + secrets, rs, dpaths = await wallet.generate_n_secrets( len(amounts), skip_bump=True ) outputs, rs = wallet._construct_outputs(amounts, secrets, rs) @@ -666,4 +666,6 @@ async def test_payout_dlc(wallet: Wallet, ledger: Ledger): assert response.errors is None, f"Payout failed: {response.errors[0].detail}" assert len(response.paid) > 0, "Payout failed: paid list is empty" assert response.paid[0].dlc_root == dlc_root.hex() - assert len(response.paid[0].outputs) == len(amounts) \ No newline at end of file + assert len(response.paid[0].outputs) == len(amounts) + + proofs = await wallet._construct_proofs(response.paid[0].outputs, secrets, rs, dpaths) \ No newline at end of file