mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-07-22 19:05:30 +02:00
lnwallet: correct comment in revoke derivation explanation
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user