Skip to content

Commit

Permalink
nodesigner: compact sigs should reference compact pubkeys
Browse files Browse the repository at this point in the history
  • Loading branch information
phlip9 authored and Roasbeef committed May 12, 2017
1 parent 3b84db1 commit 14f49d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nodesigner.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 14f49d4

Please sign in to comment.