private void FindPoolAccount() { try { _poolAccount = _daemonClient.GetAccount(_poolConfig.Wallet.Adress); } catch (RpcException e) { _logger.Error("Error getting account for pool central wallet address: {0:l} - {1:l}", _poolConfig.Wallet.Adress, e.Message); } }
private void GetPoolAccount() { try { _poolAccount = _daemonClient.GetAccount(_poolConfig.Wallet.Adress); } catch (RpcException e) { _logger.Error("Cannot determine pool's central wallet account: {0:l}", e.Message); } }
private void FindPoolAccount() { try { _poolAccount = !_poolConfig.Coin.Options.UseDefaultAccount // if UseDefaultAccount is not set ? _daemonClient.GetAccount(_poolConfig.Wallet.Adress) // find the account of the our pool address. : ""; // use the default account. } catch (RpcException e) { _logger.Error("Error getting account for pool central wallet address: {0:l} - {1:l}", _poolConfig.Wallet.Adress, e.Message); } }
private bool GetPoolAccount() { try { _poolAccount = !_poolConfig.Coin.Options.UseDefaultAccount // if UseDefaultAccount is not set ? _daemonClient.GetAccount(_poolConfig.Wallet.Adress) // find the account of the our pool address. : ""; // use the default account. return(true); } catch (RpcException e) { _logger.Error("Cannot determine pool's central wallet account: {0:l}", e.Message); return(false); } }
private void GetPoolAccount() { var result = _daemonClient.GetAccount(_walletConfig.Adress); _poolAccount = result; }