From bae1d362445507918cb628ca04a1c550d0da396f Mon Sep 17 00:00:00 2001 From: Vlad Stan Date: Mon, 7 Sep 2020 13:49:10 +0300 Subject: [PATCH] add test for "Signature mismatch" --- test/fixtures/p2wpkh.json | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/test/fixtures/p2wpkh.json b/test/fixtures/p2wpkh.json index 057ba81..ad0d595 100644 --- a/test/fixtures/p2wpkh.json +++ b/test/fixtures/p2wpkh.json @@ -141,6 +141,16 @@ ] } }, + { + "exception": "Signature mismatch", + "arguments": { + "signature": "300602010002010002", + "witness": [ + "300602010002010001", + "030000000000000000000000000000000000000000000000000000000000000001" + ] + } + }, { "exception": "Invalid prefix or Network mismatch", "arguments": {