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 eec7f1e..f374de8 100644 --- a/app/src/main/java/cy/agorise/crystalwallet/manager/BitsharesAccountManager.java +++ b/app/src/main/java/cy/agorise/crystalwallet/manager/BitsharesAccountManager.java @@ -66,6 +66,9 @@ public class BitsharesAccountManager implements CryptoAccountManager, CryptoNetI if(created) { GrapheneAccount fetch = this.getAccountInfoByName(grapheneAccount.getName()); + fetch.setSeedId(grapheneAccount.getSeedId()); + fetch.setCryptoNet(grapheneAccount.getCryptoNet()); + fetch.setAccountIndex(grapheneAccount.getAccountIndex()); CrystalDatabase db = CrystalDatabase.getAppDatabase(context); long idAccount = db.cryptoNetAccountDao().insertCryptoNetAccount(fetch)[0]; diff --git a/build.gradle b/build.gradle index f0981d9..f485cd6 100644 --- a/build.gradle +++ b/build.gradle @@ -6,7 +6,7 @@ buildscript { google() } dependencies { - classpath 'com.android.tools.build:gradle:3.0.0' + classpath 'com.android.tools.build:gradle:3.0.1' classpath 'com.neenbedankt.gradle.plugins:android-apt:1.8' // NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files