Merge pull request #9154 from ziggie1984/master

multi: bump btcd version.
This commit is contained in:
Olaoluwa Osuntokun authored and GitHub committed 2024-10-03 15:41:59 -07:00
commit 42500b2129
11 files changed
+21 -40

No files matched your search

+1 -1
View File
@@ -587,7 +587,7 @@ func AddInvoice(ctx context.Context, cfg *AddInvoiceConfig,
return ecdsa.SignCompact(
ephemKey, chainhash.HashB(msg), true,
)
), nil
},
})
if err != nil {
+1 -4
View File
@@ -2647,10 +2647,7 @@ func (w *WalletKit) SignMessageWithAddr(_ context.Context,
"fetched from wallet database: %w", err)
}
sigBytes, err := ecdsa.SignCompact(privKey, digest, pubKey.Compressed())
if err != nil {
return nil, fmt.Errorf("failed to create signature: %w", err)
}
sigBytes := ecdsa.SignCompact(privKey, digest, pubKey.Compressed())
// Bitcoin signatures are base64 encoded (being compatible with
// bitcoin-core and btcd).