always start wallet in locked state, require explicit unlock
This commit is contained in:
@@ -112,20 +112,9 @@ export const Wallet = () => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (key) apiKey = key
|
if (key) apiKey = key
|
||||||
if (raw) {
|
|
||||||
seed = raw
|
|
||||||
await refresh()
|
|
||||||
}
|
|
||||||
await checkBiometric()
|
await checkBiometric()
|
||||||
try {
|
|
||||||
} catch (e) {
|
|
||||||
console.log(e)
|
|
||||||
error =
|
|
||||||
e instanceof Error ? e.message : 'Failed to access keychain'
|
|
||||||
} finally {
|
|
||||||
ready = true
|
ready = true
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
const switchNetwork = async (id: NetworkId) => {
|
const switchNetwork = async (id: NetworkId) => {
|
||||||
network = id
|
network = id
|
||||||
|
|||||||
Reference in New Issue
Block a user