diff --git a/lntest/harness.go b/lntest/harness.go index 8a90cbbf..e2aee185 100644 --- a/lntest/harness.go +++ b/lntest/harness.go @@ -602,7 +602,7 @@ type txWatchRequest struct { eventChan chan struct{} } -// bitcoinNetworkWatcher is a goroutine which accepts async notification +// networkWatcher is a goroutine which accepts async notification // requests for the broadcast of a target transaction, and then dispatches the // transaction once its seen on the Bitcoin network. func (n *NetworkHarness) networkWatcher() { @@ -877,10 +877,10 @@ func (n *NetworkHarness) WaitForChannelOpen(ctx context.Context, } } -// CloseChannel close channel attempts to close the channel indicated by the +// CloseChannel attempts to close the channel indicated by the // passed channel point, initiated by the passed lnNode. If the passed context -// has a timeout, then if the timeout is reached before the channel close is -// pending, then an error is returned. +// has a timeout, an error is returned if that timeout is reached before the +// channel close is pending. func (n *NetworkHarness) CloseChannel(ctx context.Context, lnNode *HarnessNode, cp *lnrpc.ChannelPoint, force bool) (lnrpc.Lightning_CloseChannelClient, *chainhash.Hash, error) { diff --git a/lnwallet/reservation.go b/lnwallet/reservation.go index 30669344..62bd449d 100644 --- a/lnwallet/reservation.go +++ b/lnwallet/reservation.go @@ -403,7 +403,7 @@ func (r *ChannelReservation) ProcessSingleContribution(theirContribution *Channe // TheirContribution returns the counterparty's pending contribution to the // payment channel. See 'ChannelContribution' for further details regarding the // contents of a contribution. This attribute will ONLY be available after a -// call to .ProcesContribution(). +// call to .ProcessContribution(). // // NOTE: This SHOULD NOT be modified. func (r *ChannelReservation) TheirContribution() *ChannelContribution { @@ -419,7 +419,7 @@ func (r *ChannelReservation) TheirContribution() *ChannelContribution { // BIP-69: https://github.com/bitcoin/bips/blob/master/bip-0069.mediawiki. // // NOTE: These signatures will only be populated after a call to -// .ProcesContribution() +// .ProcessContribution() func (r *ChannelReservation) OurSignatures() ([]*InputScript, []byte) { r.RLock() defer r.RUnlock()