multi: fix function references in comments and clarify grammar
This commit is contained in:
parent
f594a57c94
commit
1977d45de5
@ -602,7 +602,7 @@ type txWatchRequest struct {
|
|||||||
eventChan chan 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
|
// requests for the broadcast of a target transaction, and then dispatches the
|
||||||
// transaction once its seen on the Bitcoin network.
|
// transaction once its seen on the Bitcoin network.
|
||||||
func (n *NetworkHarness) networkWatcher() {
|
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
|
// 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
|
// has a timeout, an error is returned if that timeout is reached before the
|
||||||
// pending, then an error is returned.
|
// channel close is pending.
|
||||||
func (n *NetworkHarness) CloseChannel(ctx context.Context,
|
func (n *NetworkHarness) CloseChannel(ctx context.Context,
|
||||||
lnNode *HarnessNode, cp *lnrpc.ChannelPoint,
|
lnNode *HarnessNode, cp *lnrpc.ChannelPoint,
|
||||||
force bool) (lnrpc.Lightning_CloseChannelClient, *chainhash.Hash, error) {
|
force bool) (lnrpc.Lightning_CloseChannelClient, *chainhash.Hash, error) {
|
||||||
|
@ -403,7 +403,7 @@ func (r *ChannelReservation) ProcessSingleContribution(theirContribution *Channe
|
|||||||
// TheirContribution returns the counterparty's pending contribution to the
|
// TheirContribution returns the counterparty's pending contribution to the
|
||||||
// payment channel. See 'ChannelContribution' for further details regarding the
|
// payment channel. See 'ChannelContribution' for further details regarding the
|
||||||
// contents of a contribution. This attribute will ONLY be available after a
|
// contents of a contribution. This attribute will ONLY be available after a
|
||||||
// call to .ProcesContribution().
|
// call to .ProcessContribution().
|
||||||
//
|
//
|
||||||
// NOTE: This SHOULD NOT be modified.
|
// NOTE: This SHOULD NOT be modified.
|
||||||
func (r *ChannelReservation) TheirContribution() *ChannelContribution {
|
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.
|
// BIP-69: https://github.com/bitcoin/bips/blob/master/bip-0069.mediawiki.
|
||||||
//
|
//
|
||||||
// NOTE: These signatures will only be populated after a call to
|
// NOTE: These signatures will only be populated after a call to
|
||||||
// .ProcesContribution()
|
// .ProcessContribution()
|
||||||
func (r *ChannelReservation) OurSignatures() ([]*InputScript, []byte) {
|
func (r *ChannelReservation) OurSignatures() ([]*InputScript, []byte) {
|
||||||
r.RLock()
|
r.RLock()
|
||||||
defer r.RUnlock()
|
defer r.RUnlock()
|
||||||
|
Loading…
Reference in New Issue
Block a user