Skip to content

Commit

Permalink
revert test fully
Browse files Browse the repository at this point in the history
  • Loading branch information
callebtc committed Sep 20, 2023
1 parent 23c2bbc commit e1a7c88
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/test_wallet_p2pk.py
Original file line number Diff line number Diff line change
Expand Up @@ -188,9 +188,9 @@ async def test_p2pk_multisig_2_of_2(wallet1: Wallet, wallet2: Wallet):
_, send_proofs = await wallet1.split_to_send(
wallet1.proofs, 8, secret_lock=secret_lock
)
# add signatures of wallet1
# add signatures of wallet2
send_proofs = await wallet1.add_p2pk_witnesses_to_proofs(send_proofs)
# here we add the signatures of wallet2
# here we add the signatures of wallet1
await wallet2.redeem(send_proofs)


Expand All @@ -208,9 +208,9 @@ async def test_p2pk_multisig_duplicate_signature(wallet1: Wallet, wallet2: Walle
_, send_proofs = await wallet1.split_to_send(
wallet1.proofs, 8, secret_lock=secret_lock
)
# add signatures of wallet2 – this is a duplicate signature
# add signatures of wallet2
send_proofs = await wallet2.add_p2pk_witnesses_to_proofs(send_proofs)
# here we add the signatures of wallet2
# here we add the signatures of wallet1
await assert_err(
wallet2.redeem(send_proofs), "Mint Error: p2pk signatures must be unique."
)
Expand Down

0 comments on commit e1a7c88

Please sign in to comment.