Skip to content

Commit

Permalink
fix ListUnspent minconfs setting
Browse files Browse the repository at this point in the history
  • Loading branch information
rsafier committed Mar 29, 2024
1 parent 1d14518 commit 1009ad2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions LNUnit.Tests/AbcLightningFixture.cs
Original file line number Diff line number Diff line change
Expand Up @@ -639,7 +639,7 @@ public async Task SendMany_Onchain()

await Builder.WaitUntilSyncedToChain("alice");
//verify last address got funds
var unspend = alice.LightningClient.ListUnspent(new ListUnspentRequest() { });
var unspend = alice.LightningClient.ListUnspent(new ListUnspentRequest() { MinConfs = 1, MaxConfs = 20 });
var confirmedAddresses = new List<string>();
foreach (var u in unspend.Utxos)
{
Expand All @@ -650,7 +650,7 @@ public async Task SendMany_Onchain()
confirmedAddresses.Add(exists);
}
}
Assert.That(addresses.Count, Is.EqualTo(confirmedAddresses.Count), "Confirmed deposits doesn't match request.");
Assert.That(confirmedAddresses.Count, Is.EqualTo(addresses.Count), "Confirmed deposits doesn't match request.");
}

[Test]
Expand Down

0 comments on commit 1009ad2

Please sign in to comment.