mirror of
https://github.com/minibits-cash/minibits_wallet.git
synced 2026-10-05 19:28:26 +00:00
Fix: Remove development logs from wallet address recovery screen
This commit is contained in:
+2
-2
@@ -1,10 +1,10 @@
|
||||
{
|
||||
"name": "minibits_wallet",
|
||||
"version": "0.2.0-beta.1",
|
||||
"version": "0.2.0-beta.2",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"android:clean": "cd android && ./gradlew clean",
|
||||
"android:dev": "react-native run-android",
|
||||
"android:dev": "react-native run-android --active-arch-only",
|
||||
"android:test": "react-native run-android --mode=release",
|
||||
"android:bundle": "react-native build-android --mode=release",
|
||||
"android:apk": "cd android && ./gradlew assembleRelease",
|
||||
|
||||
@@ -9,7 +9,7 @@ import { colors, spacing, useThemeColor } from '../theme'
|
||||
import { Icon, ListItem, Screen, Text, Card, Loading, ErrorModal, Button } from '../components'
|
||||
import { useHeader } from '../utils/useHeader'
|
||||
import AppError, { Err } from '../utils/AppError'
|
||||
import { MinibitsClient } from '../services'
|
||||
import { MinibitsClient, log } from '../services'
|
||||
import { useStores } from '../models'
|
||||
import { MnemonicInput } from './Recovery/MnemonicInput'
|
||||
import { MINIBITS_NIP05_DOMAIN } from '@env'
|
||||
@@ -87,7 +87,7 @@ export const RecoverWalletAddressScreen = observer(function RecoverWalletAddress
|
||||
|
||||
const profile = await MinibitsClient.getWalletProfileBySeedHash(seedHash as string) // throws if not found
|
||||
|
||||
console.log('[onCheckWalletAddress] profileToRecover', { profile })
|
||||
log.trace('[onCheckWalletAddress] profileToRecover', { profile })
|
||||
|
||||
if (profile.nip05.includes(MINIBITS_NIP05_DOMAIN)) {
|
||||
setProfileToRecover(profile)
|
||||
@@ -114,7 +114,7 @@ export const RecoverWalletAddressScreen = observer(function RecoverWalletAddress
|
||||
|
||||
const keys = await walletStore.getCachedWalletKeys()
|
||||
|
||||
console.log('[onCompleteAddress] Wallet keys', { keys })
|
||||
log.trace('[onCompleteAddress] Wallet keys', { keys })
|
||||
|
||||
await walletProfileStore.recover(
|
||||
keys.NOSTR.publicKey,
|
||||
|
||||
Reference in New Issue
Block a user