From e1a7c888ffda4d6db81d38bbd141156732f98980 Mon Sep 17 00:00:00 2001 From: callebtc <93376500+callebtc@users.noreply.github.com> Date: Wed, 20 Sep 2023 15:44:01 +0200 Subject: [PATCH] revert test fully --- tests/test_wallet_p2pk.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/test_wallet_p2pk.py b/tests/test_wallet_p2pk.py index 967e250e..50101af9 100644 --- a/tests/test_wallet_p2pk.py +++ b/tests/test_wallet_p2pk.py @@ -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) @@ -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." )