multi: fix function references in comments and clarify grammar

This commit is contained in:
Dave Kerr authored and Olaoluwa Osuntokun committed 2018-09-27 20:59:59 -07:00
1 parent f594a57c94
commit 1977d45de5
2 files changed
+6 -6

No files matched your search

+4 -4
View File
@@ -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) {
+2 -2
View File
@@ -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()