mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-02-21 14:04:06 +01:00
nodesigner: compact sigs should reference compact pubkeys
This commit is contained in:
parent
3b84db1f25
commit
14f49d4a22
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue