From b875bc2552a10bf1e1f82d6c48a8589189e5a2b1 Mon Sep 17 00:00:00 2001 From: Antoni Spaanderman <49868160+antonilol@users.noreply.github.com> Date: Sun, 24 Jul 2022 18:44:53 +0200 Subject: [PATCH] Update frontend/src/app/bitcoin.utils.ts triple equals Co-authored-by: softsimon --- frontend/src/app/bitcoin.utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/app/bitcoin.utils.ts b/frontend/src/app/bitcoin.utils.ts index d1f0d6553..b2ea1d7a9 100644 --- a/frontend/src/app/bitcoin.utils.ts +++ b/frontend/src/app/bitcoin.utils.ts @@ -64,7 +64,7 @@ export function calcSegwitFeeGains(tx: Transaction) { } if (isP2tr) { - if (vin.witness.length == 1) { + if (vin.witness.length === 1) { // key path spend // we don't know if this was a multisig or single sig (the goal of taproot :)), // so calculate fee savings by comparing to the cheapest single sig input type: P2WPKH and say "saved at least ...%"