fixed import file backup

This commit is contained in:
henry 2018-04-09 22:32:22 -04:00
parent eb351bfbfa
commit 6eb43f93be

View file

@ -248,6 +248,8 @@ public class FileBackupManager implements FileServiceRequestsListener {
long idSeed = accountSeedDao.insertAccountSeed(seed); long idSeed = accountSeedDao.insertAccountSeed(seed);
if(idSeed >= 0) { if(idSeed >= 0) {
GrapheneAccount account = new GrapheneAccount(); GrapheneAccount account = new GrapheneAccount();
account.setCryptoNet(CryptoNet.BITSHARES);
account.setAccountIndex(0);
account.setSeedId(idSeed); account.setSeedId(idSeed);
account.setName(validatorRequest.getAccountName()); account.setName(validatorRequest.getAccountName());
BitsharesAccountManager bManger = new BitsharesAccountManager(); BitsharesAccountManager bManger = new BitsharesAccountManager();