mirror of
https://github.com/lightninglabs/loop.git
synced 2026-08-13 12:33:03 +02:00
godoc: address copy-paste errors accross the codebase
This commit is contained in:
parent
c1036ff705
commit
a9977dd5f4
26 changed files with 62 additions and 50 deletions
|
|
@ -122,7 +122,7 @@ func (i *InstantOut) createMusig2Session(ctx context.Context,
|
|||
return musig2Sessions, clientNonces, nil
|
||||
}
|
||||
|
||||
// getInputReservation returns the input reservation for the instant out.
|
||||
// getInputReservations returns the input reservations for the instant out.
|
||||
func (i *InstantOut) getInputReservations() (InputReservations, error) {
|
||||
if len(i.Reservations) == 0 {
|
||||
return nil, errors.New("no reservations")
|
||||
|
|
|
|||
|
|
@ -313,7 +313,8 @@ func TestSubscribeToConfirmationAction(t *testing.T) {
|
|||
}
|
||||
}
|
||||
|
||||
// AsyncWaitForExpiredOrSweptAction tests the AsyncWaitForExpiredOrSweptAction
|
||||
// TestAsyncWaitForExpiredOrSweptAction tests the
|
||||
// AsyncWaitForExpiredOrSweptAction
|
||||
// of the reservation state machine.
|
||||
func TestAsyncWaitForExpiredOrSweptAction(t *testing.T) {
|
||||
tests := []struct {
|
||||
|
|
@ -375,7 +376,7 @@ func TestAsyncWaitForExpiredOrSweptAction(t *testing.T) {
|
|||
}
|
||||
}
|
||||
|
||||
// TesthandleSubcriptions tests the handleSubcriptions function of the
|
||||
// TestHandleSubcriptions tests the handleSubcriptions function of the
|
||||
// reservation state machine.
|
||||
func TestHandleSubcriptions(t *testing.T) {
|
||||
var (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue