diff --git a/index.html b/index.html index 03850e0..9b07bc7 100644 --- a/index.html +++ b/index.html @@ -1998,7 +1998,7 @@ senders = btcOperator.extractLastHexStrings(details.witness).flatMap((hex) => { const { address, required: requiredSignatures, pubKeys } = btcOperator.decodeRedeemScript(hex) || {} console.log(btcOperator.decodeRedeemScript(hex)) - return pubKeys.map(pubKey => btcOperator.address(pubKey)) + return pubKeys.map(pubKey => btcOperator.bech32Address(pubKey)) }) } else { senders = inputs.map(input => input.address)