lnwallet: correct comment in revoke derivation explanation

This commit is contained in:
Olaoluwa Osuntokun 2016-07-05 16:49:23 -07:00
parent 1f7d9b6425
commit f03122e697
No known key found for this signature in database
GPG Key ID: 9CC5B105D03521A2
2 changed files with 1 additions and 2 deletions

@ -49,7 +49,6 @@ func LnAddrFromString(encodedAddr string) (*LNAdr, error) {
// Attempt to resolve the IP address, this handles parsing IPv6 zones,
// and such.
fmt.Println("host: ", idHost[1])
ipAddr, err := net.ResolveTCPAddr("tcp", idHost[1])
if err != nil {
return nil, err

@ -682,7 +682,7 @@ func commitSpendNoDelay(commitScript []byte, outputAmt btcutil.Amount,
// The derivation is performed as follows:
//
// revokeKey := commitKey + revokePoint
// := G*k + G+h
// := G*k + G*h
// := G * (k+h)
//
// Therefore, once we divulge the revocation pre-image, the remote peer is able to