Skip to content

Commit

Permalink
formatting.
Browse files Browse the repository at this point in the history
  • Loading branch information
rsafier committed Mar 26, 2024
1 parent 0b7f9b5 commit e0894c8
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions LNUnit.Tests/AbcLightningFixture.cs
Original file line number Diff line number Diff line change
Expand Up @@ -529,13 +529,13 @@ public async Task SendMany_Onchain()
{
var address = alice.LightningClient.NewAddress(new NewAddressRequest() { Type = AddressType.TaprootPubkey }).Address;
addresses.Add(address);
sendManyRequest.AddrToAmount.Add(address,10000);
sendManyRequest.AddrToAmount.Add(address, 10000);
}

alice.LightningClient.SendMany(sendManyRequest);

Builder.NewBlock(10); //fast forward in time

//verify last address got funds
var unspend = alice.LightningClient.ListUnspent(new ListUnspentRequest() { });
var confirmedAddresses = new List<string>();
Expand All @@ -544,11 +544,11 @@ public async Task SendMany_Onchain()
var exists = addresses.FirstOrDefault(x => x.EqualsIgnoreCase(u.Address));
if (exists != null)
{
Assert.That(u.AmountSat,Is.EqualTo(10_000));
Assert.That(u.AmountSat, Is.EqualTo(10_000));
confirmedAddresses.Add(exists);
}
}
Assert.That(addresses.Count,Is.EqualTo( confirmedAddresses.Count), "Confirmed deposits doesn't match request.");
Assert.That(addresses.Count, Is.EqualTo(confirmedAddresses.Count), "Confirmed deposits doesn't match request.");
}

[Test]
Expand Down

0 comments on commit e0894c8

Please sign in to comment.