From 0228ca54d986fa3bf02b064b8dd23aa6180c8ad3 Mon Sep 17 00:00:00 2001 From: hvarona Date: Mon, 18 Jun 2018 21:13:30 -0400 Subject: [PATCH] fixed bitsahres account name cache dao --- .../agorise/crystalwallet/dao/BitsharesAccountNameCacheDao.java | 2 +- .../agorise/crystalwallet/manager/BitsharesAccountManager.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/cy/agorise/crystalwallet/dao/BitsharesAccountNameCacheDao.java b/app/src/main/java/cy/agorise/crystalwallet/dao/BitsharesAccountNameCacheDao.java index 3389db1..e54c11a 100644 --- a/app/src/main/java/cy/agorise/crystalwallet/dao/BitsharesAccountNameCacheDao.java +++ b/app/src/main/java/cy/agorise/crystalwallet/dao/BitsharesAccountNameCacheDao.java @@ -24,7 +24,7 @@ public interface BitsharesAccountNameCacheDao { @Query("SELECT * FROM bitshares_account_name_cache WHERE account_id = :account_id") BitsharesAccountNameCache getByAccountId(String account_id); - @Query("SELECT * FROM bitshares_account_name_cache WHERE account_name = :name") + @Query("SELECT * FROM bitshares_account_name_cache WHERE name = :account_name") BitsharesAccountNameCache getByAccountName(String account_name); @Insert(onConflict = OnConflictStrategy.REPLACE) diff --git a/app/src/main/java/cy/agorise/crystalwallet/manager/BitsharesAccountManager.java b/app/src/main/java/cy/agorise/crystalwallet/manager/BitsharesAccountManager.java index 46b89d3..bde843f 100644 --- a/app/src/main/java/cy/agorise/crystalwallet/manager/BitsharesAccountManager.java +++ b/app/src/main/java/cy/agorise/crystalwallet/manager/BitsharesAccountManager.java @@ -93,7 +93,7 @@ public class BitsharesAccountManager implements CryptoAccountManager, CryptoNetI @Override public void fail() { - //TODO get account data fail + request.fail(); } });