private void BwChannelsQuery(object sender, DoWorkEventArgs e) { var openChannels = LndClient.ListChannels(); var pendingChannels = LndClient.ListPendingChannels(); var closedChannels = LndClient.ListClosedChannels(); var result = Tuple.Create(openChannels, pendingChannels, closedChannels); e.Result = result; }
public void ListChannelsTest() { // Arrange LndClient lndClient = new LndClient(); // Act ListChannelsResponse response = lndClient.ListChannels(); Assert.IsNotNull(response); }