Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions clightning/clightning_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ type DummyPayerWaiter struct {
sendPayPartsAndWaitReturn *glightning.SendPayFields
sendPayPartsAndWaitErrorReturn *error

totalPayed uint64
totalPaid uint64
}

func TestBuildDirectClaimRouteCLTVBoundary(t *testing.T) {
Expand Down Expand Up @@ -48,7 +48,7 @@ func (d *DummyPayerWaiter) SendPayPartAndWait(paymentRequest string, bolt11 *gli
d.Lock()
defer d.Unlock()
d.sendPayPartsAndWaitCalled++
d.totalPayed += amountMsat
d.totalPaid += amountMsat

if d.sendPayPartsAndWaitErrorReturn != nil {
return nil, *d.sendPayPartsAndWaitErrorReturn
Expand Down