Update to work with 0.16.0

This commit is contained in:
nicolas.dorier
2018-02-28 17:01:10 +09:00
parent 061f428a54
commit 2d5a861df0
2 changed files with 5 additions and 8 deletions

View File

@@ -93,11 +93,6 @@ namespace BTCPayServer.Tests
var clightning = new NodeInfo(info.Id, MerchantCharge.P2PHost, info.Port);
var connect = CustomerEclair.RPC.ConnectAsync(clightning);
await Task.WhenAll(blockCount, customer, channels, connect);
// Mine until segwit is activated
if (blockCount.Result <= 432)
{
ExplorerNode.Generate(433 - blockCount.Result);
}
// If the channel is not created, let's do it
if (channels.Result.Length == 0)