mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2024-11-19 18:11:36 +01:00
21 lines
572 B
C#
21 lines
572 B
C#
using System;
|
|
using BTCPayServer.Lightning.CLightning;
|
|
using NBitcoin;
|
|
|
|
namespace BTCPayServer.Tests
|
|
{
|
|
public class LightningDTester
|
|
{
|
|
readonly ServerTester parent;
|
|
public LightningDTester(ServerTester parent, string environmentName, string defaultRPC, string defaultHost, Network network)
|
|
{
|
|
this.parent = parent;
|
|
RPC = new CLightningClient(new Uri(parent.GetEnvironment(environmentName, defaultRPC)), network);
|
|
}
|
|
|
|
public CLightningClient RPC { get; }
|
|
public string P2PHost { get; }
|
|
|
|
}
|
|
}
|