Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
rsafier committed Mar 26, 2024
1 parent 0af78f0 commit 4f30bf8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions LNUnit.Tests/AbcLightningFixture.cs
Original file line number Diff line number Diff line change
Expand Up @@ -565,7 +565,7 @@ public async Task FailureReasonNoRoute()
});

"Carol shutdown".Print();
await Builder.ShutdownByAlias("carol", 0);
await Builder.ShutdownByAlias("carol", 0, true);
await Task.Delay(1000);
paymentTask.Status.PrintDump();
Builder.CancelInterceptorOnAlias("bob");
Expand Down Expand Up @@ -666,7 +666,7 @@ public async Task GetPaymentFailureData()
});

"Carol shutdown".Print();
await Builder.ShutdownByAlias("carol", 0);
await Builder.ShutdownByAlias("carol", 0, true);
await Task.Delay(1000);
paymentTask.Status.PrintDump();
Builder.CancelInterceptorOnAlias("bob");
Expand All @@ -683,7 +683,7 @@ public async Task GetPaymentFailureData()
var res = new List<PaymentStats>();

var consolidated = new Dictionary<string, (int Success, int Fail)>();
var client = (await Builder.GetLNDSettingsFromContainer("alice")).GetClient();
var client = (await Builder.GetLNDSettingsFromContainer("alice", _lndRoot)).GetClient();
var payments = await client.LightningClient.ListPaymentsAsync(new ListPaymentsRequest
{
//CountTotalPayments = true,
Expand Down
2 changes: 1 addition & 1 deletion LNUnit/Setup/LNUnitBuilder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -672,7 +672,7 @@ public async Task<LNDNodeConnection> WaitUntilAliasIsServerReady(string alias)
}

while (!ready.IsServerReady) await Task.Delay(100);
return ready;
return ready.Clone();
}

public async Task<ChannelGraph> GetGraphFromAlias(string alias)
Expand Down

0 comments on commit 4f30bf8

Please sign in to comment.