public SmartHoldemAccount GetSmartHoldemAccount() { if (_account == null) { _account = AccountService.GetByAddress(Crypto.GetAddress(Crypto.GetKeys(_passPhrase), SmartHoldemNetApi.Instance.NetworkSettings.BytePrefix)).Account; } return(_account); }
public async Task <SmartHoldemAccount> GetSmartHoldemAccountAsync() { if (_account == null) { var accountResponse = await AccountService.GetByAddressAsync(Crypto.GetAddress(Crypto.GetKeys(_passPhrase), SmartHoldemNetApi.Instance.NetworkSettings.BytePrefix)); _account = accountResponse.Account; } return(_account); }