Ejemplo n.º 1
0
        private void BwBalancesQuery(object sender, DoWorkEventArgs e)
        {
            var walletBalance  = LndClient.WalletBalance();
            var channelBalance = LndClient.ChannelBalance();
            var result         = Tuple.Create(walletBalance, channelBalance);

            e.Result = result;
        }
Ejemplo n.º 2
0
 private void BwBalancesQuery(object sender, DoWorkEventArgs e)
 {
     try
     {
         var walletBalance  = LndClient.WalletBalance();
         var channelBalance = LndClient.ChannelBalance();
         var result         = Tuple.Create(walletBalance, channelBalance);
         e.Result = result;
     }
     catch (RpcException)
     {
         e.Result = null;
     }
 }