Skip to content

Commit

Permalink
Fix not saving phrase for reveal in debug skip
Browse files Browse the repository at this point in the history
  • Loading branch information
Radiokot committed May 24, 2024
1 parent 8582748 commit 671ec1a
Showing 1 changed file with 3 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,14 +49,11 @@ class PassPhraseRecoverViewModel(

fun setPredefinedPhraseForTesting(password: String) = viewModelScope.launch {
if (BuildConfig.DEBUG) {
//AuthPreferences(getApplication()).setSeedPhrase("health smoke abandon middle outer method meadow sorry whale random cupboard thank album exclude idle month exit quarter shell portion eternal legal rent tonight") // testnet CBW-320
val saveSuccess = AuthPreferences(getApplication()).tryToSetEncryptedSeedPhrase(
setSeedPhrase(
"nothing ill myself guitar antique demise awake twelve fall victory grow segment bus puppy iron vicious skate piece tobacco stable police plunge coin fee",
password
)// testnet
_saveSeedLiveData.value = saveSuccess
_validateLiveData.value = saveSuccess

)
_validateLiveData.value = true
}
}

Expand Down

0 comments on commit 671ec1a

Please sign in to comment.