Update frontend/src/app/bitcoin.utils.ts

triple equals

Co-authored-by: softsimon <softsimon@users.noreply.github.com>
This commit is contained in:
Antoni Spaanderman 2022-07-24 18:44:53 +02:00 committed by GitHub
parent 37fd1fb76d
commit b875bc2552
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 ...%"