nodesigner: compact sigs should reference compact pubkeys

This commit is contained in:
Philip Hayes authored and Olaoluwa Osuntokun committed 2017-05-12 14:21:19 -07:00
1 parent 3b84db1f25
commit 14f49d4a22
1 file changed
+1 -1
+1 -1
View File
@@ -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,