multi: bump btcd version.

The new SignCompact return values had to be adopted across the
code base.
This commit is contained in:
ziggie committed 2024-10-03 21:56:21 +02:00
1 parent 9f0cc159ea
commit 4402137fb4
11 files changed
+21 -40

No files matched your search

+1 -6
View File
@@ -4,7 +4,6 @@ import (
"crypto/rand"
"encoding/binary"
"encoding/hex"
"fmt"
"sync"
"testing"
"time"
@@ -69,11 +68,7 @@ var (
testMessageSigner = zpay32.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)
}
sig := ecdsa.SignCompact(testPrivKey, hash, true)
return sig, nil
},