fixed bitsahres account name cache dao

This commit is contained in:
hvarona 2018-06-18 21:13:30 -04:00
parent d0df53d8e2
commit 0228ca54d9
2 changed files with 2 additions and 2 deletions

View file

@ -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)

View file

@ -93,7 +93,7 @@ public class BitsharesAccountManager implements CryptoAccountManager, CryptoNetI
@Override
public void fail() {
//TODO get account data fail
request.fail();
}
});