Fix typo in logging

This commit is contained in:
Yaacov Akiba Slama
2020-12-29 16:32:21 +02:00
parent 11dc17ae2d
commit ea54442821

View File

@@ -155,7 +155,7 @@ func getSignedEncryptedData(in *lspdrpc.Encrypted) (string, []byte, error) {
}
pubkey, err := btcec.ParsePubKey(signed.Pubkey, btcec.S256())
if err != nil {
log.Printf("unable to parse pubkey: %w", err)
log.Printf("unable to parse pubkey: %v", err)
return "", nil, fmt.Errorf("unable to parse pubkey: %w", err)
}
wireSig, err := lnwire.NewSigFromRawSignature(signed.Signature)