From 75696ff968b8b39c762594eb68556edd91bbdef9 Mon Sep 17 00:00:00 2001 From: tripathyr Date: Thu, 19 Oct 2023 10:20:22 +0530 Subject: [PATCH] Update lib.js --- scripts/lib.js | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/lib.js b/scripts/lib.js index 042c730..f4697a6 100644 --- a/scripts/lib.js +++ b/scripts/lib.js @@ -7969,6 +7969,7 @@ //Adding Taproot output writing if (addr.type == "bech32m") { s.writeBytes(Crypto.util.hexToBytes(addr.outstring)); + s.buffer.shift(); //fix to remove the extra count byte coming in final txhex return s; }