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
2 changed files with 1 additions and 2 deletions

View File

@@ -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