From 7a3a12c573d3275a0d92210e4223348532daa3a8 Mon Sep 17 00:00:00 2001 From: Aditya Kulkarni Date: Fri, 6 Mar 2020 20:05:09 -0800 Subject: [PATCH] Remove dangerous flag (Fixes #40) --- app/components/LoadingScreen.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/components/LoadingScreen.js b/app/components/LoadingScreen.js index c9b2a20..5882010 100644 --- a/app/components/LoadingScreen.js +++ b/app/components/LoadingScreen.js @@ -82,7 +82,7 @@ class LoadingScreen extends Component { // Show the wallet creation screen this.setState({ walletScreen: 1 }); } else { - const result = native.litelib_initialize_existing(true, url); + const result = native.litelib_initialize_existing(false, url); console.log(`Intialization: ${result}`); if (result !== 'OK') { this.setState({ @@ -174,7 +174,7 @@ class LoadingScreen extends Component { createNewWallet = () => { const { url } = this.state; - const result = native.litelib_initialize_new(true, url); + const result = native.litelib_initialize_new(false, url); if (result.startsWith('Error')) { this.setState({ newWalletError: result });