mirror of
https://github.com/muun/recovery.git
synced 2025-11-13 15:21:37 -05:00
Release v2.2.0
This commit is contained in:
3
vendor/github.com/muun/libwallet/V1.go
generated
vendored
3
vendor/github.com/muun/libwallet/V1.go
generated
vendored
@@ -8,6 +8,7 @@ import (
|
||||
"github.com/btcsuite/btcd/wire"
|
||||
"github.com/btcsuite/btcutil"
|
||||
"github.com/muun/libwallet/addresses"
|
||||
"github.com/muun/libwallet/btcsuitew/txscriptw"
|
||||
)
|
||||
|
||||
// CreateAddressV1 returns a P2PKH MuunAddress from a publicKey for use in TransactionSchemeV1
|
||||
@@ -56,7 +57,7 @@ func (c *coinV1) createRedeemScript(publicKey *HDPublicKey) ([]byte, error) {
|
||||
return nil, fmt.Errorf("failed to generate address for user: %w", err)
|
||||
}
|
||||
|
||||
return txscript.PayToAddrScript(userAddress.AddressPubKeyHash())
|
||||
return txscriptw.PayToAddrScript(userAddress.AddressPubKeyHash())
|
||||
}
|
||||
|
||||
func (c *coinV1) signature(index int, tx *wire.MsgTx, userKey *HDPrivateKey) ([]byte, error) {
|
||||
|
||||
Reference in New Issue
Block a user