nodesigner: compact sigs should reference compact pubkeys
This commit is contained in:
parent
3b84db1f25
commit
14f49d4a22
@ -53,7 +53,7 @@ func (n *nodeSigner) SignCompact(msg []byte) ([]byte, error) {
|
||||
digest := chainhash.DoubleHashB(msg)
|
||||
|
||||
// Should the signature reference a compressed public key or not.
|
||||
isCompressedKey := false
|
||||
isCompressedKey := true
|
||||
|
||||
// btcec.SignCompact returns a pubkey-recoverable signature
|
||||
sig, err := btcec.SignCompact(btcec.S256(), n.privKey, digest,
|
||||
|
Loading…
Reference in New Issue
Block a user