lnwallet: correct comment in revoke derivation explanation

This commit is contained in:
Olaoluwa Osuntokun committed 2016-07-05 16:49:27 -07:00
1 parent 1f7d9b6425
commit f03122e697
2 files changed
+1 -2

No files matched your search

+1 -1
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