From f03122e697bd5b1888de3090816b5d9363f59e8b Mon Sep 17 00:00:00 2001 From: Olaoluwa Osuntokun Date: Tue, 5 Jul 2016 16:49:23 -0700 Subject: [PATCH] lnwallet: correct comment in revoke derivation explanation --- lndc/lnadr.go | 1 - lnwallet/script_utils.go | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/lndc/lnadr.go b/lndc/lnadr.go index fd6c47f6..1cab4756 100644 --- a/lndc/lnadr.go +++ b/lndc/lnadr.go @@ -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 diff --git a/lnwallet/script_utils.go b/lnwallet/script_utils.go index 0ab51d36..2905680d 100644 --- a/lnwallet/script_utils.go +++ b/lnwallet/script_utils.go @@ -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