Skip to content

Commit

Permalink
Revert "fix: ada issues"
Browse files Browse the repository at this point in the history
This reverts commit 53221c6.
  • Loading branch information
soralit committed Mar 15, 2024
1 parent b5ae839 commit 96e93f3
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -223,10 +223,10 @@ public void setupMnemonicWallet(String mnemonic) {
if (new WriteMnemonicCallable(mnemonic, password).call()) {
vaultId = new GetVaultIdCallable().call();
mRepository.clearDb();
ADASetupManager adaSetupManager = ADASetupManager.getInstance();
if (adaSetupManager.setupADARootKey("", password)) {
adaSetupManager.preSetupADAKeys(password);
}
// ADASetupManager adaSetupManager = ADASetupManager.getInstance();
// if (adaSetupManager.setupADARootKey("", password)) {
// adaSetupManager.preSetupADAKeys(password);
// }
vaultCreateState.postValue(VAULT_STATE_CREATED);
} else {
vaultCreateState.postValue(VAULT_STATE_CREATING_FAILED);
Expand Down Expand Up @@ -287,10 +287,10 @@ public void updatePassphrase(String passphrase) {
if (success) {
vaultId = new GetVaultIdCallable().call();
deleteHiddenVaultData();
ADASetupManager adaSetupManager = ADASetupManager.getInstance();
if (adaSetupManager.setupADARootKey(passphrase, password)) {
adaSetupManager.preSetupADAKeys(password);
}
// ADASetupManager adaSetupManager = ADASetupManager.getInstance();
// if (adaSetupManager.setupADARootKey(passphrase, password)) {
// adaSetupManager.preSetupADAKeys(password);
// }
signature = null;
vaultCreateState.postValue(VAULT_STATE_CREATED);
} else {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -137,8 +137,8 @@ public LiveData<UR> generateSyncUR(List<KeyRequestApproveFragment.Schema> schema
if (CardanoViewModel.isCardanoPath(schema.getPath())) {
if (password != null && !password.isEmpty()) {
CardanoViewModel.checkOrSetup(schema.getPath(), password, mRepository);
extended_key = CardanoViewModel.getXPub(schema.getPath(), mRepository);
}
extended_key = CardanoViewModel.getXPub(schema.getPath(), mRepository);
} else {
boolean isMainWallet = Utilities.getCurrentBelongTo(MainApplication.getApplication()).equals("main");
String portName = EncryptionCoreProvider.getInstance().getPortName();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ public class Coins {
APTOS,
SUI,
AR,
ADA,
// ADA,
ATOM,
OSMO,
SCRT,
Expand Down

0 comments on commit 96e93f3

Please sign in to comment.