File tree Expand file tree Collapse file tree 3 files changed +10
-10
lines changed
app/src/main/java/com/keystone/cold/remove_wallet_mode/viewmodel
coinlib/src/main/java/com/keystone/coinlib/utils Expand file tree Collapse file tree 3 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -223,10 +223,10 @@ public void setupMnemonicWallet(String mnemonic) {
223223 if (new WriteMnemonicCallable (mnemonic , password ).call ()) {
224224 vaultId = new GetVaultIdCallable ().call ();
225225 mRepository .clearDb ();
226- ADASetupManager adaSetupManager = ADASetupManager .getInstance ();
227- if (adaSetupManager .setupADARootKey ("" , password )) {
228- adaSetupManager .preSetupADAKeys (password );
229- }
226+ // ADASetupManager adaSetupManager = ADASetupManager.getInstance();
227+ // if (adaSetupManager.setupADARootKey("", password)) {
228+ // adaSetupManager.preSetupADAKeys(password);
229+ // }
230230 vaultCreateState .postValue (VAULT_STATE_CREATED );
231231 } else {
232232 vaultCreateState .postValue (VAULT_STATE_CREATING_FAILED );
@@ -287,10 +287,10 @@ public void updatePassphrase(String passphrase) {
287287 if (success ) {
288288 vaultId = new GetVaultIdCallable ().call ();
289289 deleteHiddenVaultData ();
290- ADASetupManager adaSetupManager = ADASetupManager .getInstance ();
291- if (adaSetupManager .setupADARootKey (passphrase , password )) {
292- adaSetupManager .preSetupADAKeys (password );
293- }
290+ // ADASetupManager adaSetupManager = ADASetupManager.getInstance();
291+ // if (adaSetupManager.setupADARootKey(passphrase, password)) {
292+ // adaSetupManager.preSetupADAKeys(password);
293+ // }
294294 signature = null ;
295295 vaultCreateState .postValue (VAULT_STATE_CREATED );
296296 } else {
Original file line number Diff line number Diff line change @@ -137,8 +137,8 @@ public LiveData<UR> generateSyncUR(List<KeyRequestApproveFragment.Schema> schema
137137 if (CardanoViewModel .isCardanoPath (schema .getPath ())) {
138138 if (password != null && !password .isEmpty ()) {
139139 CardanoViewModel .checkOrSetup (schema .getPath (), password , mRepository );
140+ extended_key = CardanoViewModel .getXPub (schema .getPath (), mRepository );
140141 }
141- extended_key = CardanoViewModel .getXPub (schema .getPath (), mRepository );
142142 } else {
143143 boolean isMainWallet = Utilities .getCurrentBelongTo (MainApplication .getApplication ()).equals ("main" );
144144 String portName = EncryptionCoreProvider .getInstance ().getPortName ();
Original file line number Diff line number Diff line change @@ -156,7 +156,7 @@ public class Coins {
156156 APTOS ,
157157 SUI ,
158158 AR ,
159- ADA ,
159+ // ADA,
160160 ATOM ,
161161 OSMO ,
162162 SCRT ,
You can’t perform that action at this time.
0 commit comments