Skip to content

Commit

Permalink
test fix
Browse files Browse the repository at this point in the history
  • Loading branch information
lollerfirst committed Sep 17, 2024
1 parent e35df9b commit 2b8fa8b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tests/test_dlc.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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)
assert len(response.paid[0].outputs) == len(amounts)

proofs = await wallet._construct_proofs(response.paid[0].outputs, secrets, rs, dpaths)

0 comments on commit 2b8fa8b

Please sign in to comment.