Update frontend/src/app/bitcoin.utils.ts
triple equals Co-authored-by: softsimon <softsimon@users.noreply.github.com>
This commit is contained in:
parent
37fd1fb76d
commit
b875bc2552
@ -64,7 +64,7 @@ export function calcSegwitFeeGains(tx: Transaction) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (isP2tr) {
|
if (isP2tr) {
|
||||||
if (vin.witness.length == 1) {
|
if (vin.witness.length === 1) {
|
||||||
// key path spend
|
// key path spend
|
||||||
// we don't know if this was a multisig or single sig (the goal of taproot :)),
|
// 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 ...%"
|
// so calculate fee savings by comparing to the cheapest single sig input type: P2WPKH and say "saved at least ...%"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user