mirror of
https://github.com/KoalaSat/nostros.git
synced 2024-09-29 22:50:43 +00:00
v0.3.0.2-alpha (#347)
This commit is contained in:
commit
b9724a41d9
@ -139,8 +139,8 @@ android {
|
||||
applicationId "com.nostros"
|
||||
minSdkVersion rootProject.ext.minSdkVersion
|
||||
targetSdkVersion rootProject.ext.targetSdkVersion
|
||||
versionCode 47
|
||||
versionName "v0.3.0.1-alpha"
|
||||
versionCode 48
|
||||
versionName "v0.3.0.2-alpha"
|
||||
buildConfigField "boolean", "IS_NEW_ARCHITECTURE_ENABLED", isNewArchitectureEnabled().toString()
|
||||
|
||||
if (isNewArchitectureEnabled()) {
|
||||
|
@ -19,7 +19,7 @@ export const generateRandomKey: () => Promise<string> = async () => {
|
||||
export const generateRandomMnemonic: () => Promise<Record<number, string>> = async () => {
|
||||
const result: Record<number, string> = {}
|
||||
for (let index = 0; index < 12; index++) {
|
||||
const random = await generateSecureRandom(4)
|
||||
const random = await generateSecureRandom(12)
|
||||
const totalRandom = random.reduce((sum, current) => sum + current, 0)
|
||||
const position = totalRandom % wordlist.length
|
||||
result[index + 1] = wordlist[position]
|
||||
|
Loading…
Reference in New Issue
Block a user