Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to swap to mainnet #8

Open
Nakinthorn opened this issue Dec 9, 2020 · 3 comments
Open

how to swap to mainnet #8

Nakinthorn opened this issue Dec 9, 2020 · 3 comments

Comments

@Nakinthorn
Copy link

how to swap to mainnet ?

@coreyphillips
Copy link
Owner

Hey @Nakinthorn, you'll want to swap bitcoin.testnet to 0 here.

These files should be located here android/app/src/main/assets for Android and here ios/lightning/ for iOS once installed.

Hope this helps!

@Nakinthorn
Copy link
Author

Nakinthorn commented Dec 23, 2020

Hey @Nakinthorn, you'll want to swap bitcoin.testnet to 0 here.

These files should be located here android/app/src/main/assets for Android and here ios/lightning/ for iOS once installed.

Hope this helps!

after i changed bitcoin.testnet=0
it not show any error but app was forceclose

and i try to debug finally i found

const getKeychainValue = async ({ key = "" } = {}) => {
	return new Promise(async (resolve) => {
		try {
			console.log("getKeychainValuegetKeychainValuegetKeychainValuegetKeychainValue")
			
			const result = await Keychain.getGenericPassword(key);
			resolve({ error: false, data: result });
		} catch (e) {
			console.log("catchcatchcatchcatchcatchcatch")
			resolve({ error: true, data: e });
			console.log(e);
		}
	});
};

no return no error from this

@coreyphillips
Copy link
Owner

Interesting, have you tried wiping the simulator/emulator? It could still be trying to access stored testnet data when it's looking for mainnet data.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants