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

@@ -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
},