mirror of
https://github.com/minibits-cash/minibits_wallet.git
synced 2026-10-05 19:28:26 +00:00
Minor log cleaning
This commit is contained in:
Vendored
+1
-1
@@ -1 +1 @@
|
||||
019b9547-7a93-74f0-b2df-a22f9c095db9
|
||||
019b98cc-e66d-7947-b6a6-e253c1830c03
|
||||
@@ -232,7 +232,7 @@ import {
|
||||
Database.addOrUpdateProofs(updatedProofs, isPending, isSpent)
|
||||
}
|
||||
|
||||
log.trace('[addOrUpdate]', `Added or updated ${updatedProofs.length} ${isPending && 'pending '} ${isSpent && 'spent '} proofs`)
|
||||
log.trace('[addOrUpdate]', `Added or updated ${updatedProofs.length} ${isPending ? 'pending ' : ''} ${isSpent ? 'spent ' : ''} proofs`)
|
||||
return { updatedAmount, updatedProofs }
|
||||
},
|
||||
|
||||
|
||||
@@ -34,7 +34,7 @@ import RNExitApp from 'react-native-exit-app'
|
||||
import { TransactionStatus } from '../models/Transaction'
|
||||
import { maxTransactionsInHistory } from '../models/TransactionsStore'
|
||||
import { StaticScreenProps, useNavigation } from '@react-navigation/native'
|
||||
// refresh
|
||||
//
|
||||
|
||||
type Props = StaticScreenProps<undefined>
|
||||
|
||||
@@ -300,7 +300,7 @@ ${Platform.OS === 'android' ? 'Android version code: ' + ANDROID_VERSION_CODE :
|
||||
Commit: ${COMMIT}
|
||||
DB version: ${dbVersion}
|
||||
State size: ${walletStateSize.toLocaleString()} bytes
|
||||
React Native: ${rnVersion}ß
|
||||
React Native: ${rnVersion}
|
||||
Sentry id: ${walletProfileStore.walletId}
|
||||
`}
|
||||
leftIcon='faInfoCircle'
|
||||
|
||||
@@ -929,7 +929,7 @@ const addOrUpdateProofs = function (
|
||||
|
||||
// DO NOT log proof secrets to Sentry
|
||||
log.info('[addOrUpdateProofs]',
|
||||
`${rowsAffected}${isPending && ' pending'} ${isSpent && ' spent'} proofs were added or updated in the database`,
|
||||
`${rowsAffected}${isPending ? ' pending' : ''} ${isSpent ? ' spent' : ''} proofs were added or updated in the database`,
|
||||
{isPending, isSpent}
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user