Skip to content
This repository has been archived by the owner on Sep 26, 2023. It is now read-only.

Commit

Permalink
Remove dangerous flag (Fixes #40)
Browse files Browse the repository at this point in the history
  • Loading branch information
adityapk00 committed Mar 7, 2020
1 parent 6bee881 commit d2a7813
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/components/LoadingScreen.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ class LoadingScreen extends Component<Props, LoadingScreenState> {
// 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({
Expand Down Expand Up @@ -174,7 +174,7 @@ class LoadingScreen extends Component<Props, LoadingScreenState> {

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 });
Expand Down

0 comments on commit d2a7813

Please sign in to comment.