nodesigner: compact sigs should reference compact pubkeys

This commit is contained in:
Philip Hayes 2017-05-07 05:02:51 -07:00 committed by Olaoluwa Osuntokun
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,