multi: bump btcd version.

The new SignCompact return values had to be adopted across the
code base.
This commit is contained in:
ziggie
2024-10-03 16:52:57 +02:00
parent 9f0cc159ea
commit 4402137fb4
11 changed files with 21 additions and 40 deletions

View File

@@ -105,12 +105,8 @@ var (
testMessageSigner = MessageSigner{
SignCompact: func(msg []byte) ([]byte, error) {
hash := chainhash.HashB(msg)
sig, err := ecdsa.SignCompact(testPrivKey, hash, true)
if err != nil {
return nil, fmt.Errorf("can't sign the "+
"message: %v", err)
}
return sig, nil
return ecdsa.SignCompact(testPrivKey, hash, true), nil
},
}
@@ -1043,7 +1039,7 @@ func TestInvoiceChecksumMalleability(t *testing.T) {
msgSigner := MessageSigner{
SignCompact: func(msg []byte) ([]byte, error) {
hash := chainhash.HashB(msg)
return ecdsa.SignCompact(privKey, hash, true)
return ecdsa.SignCompact(privKey, hash, true), nil
},
}
opts := []func(*Invoice){Description("test")}