Minor log cleaning

This commit is contained in:
minibits-cash
2026-01-07 23:28:09 +01:00
parent bd3f436b2b
commit 0b4aa788db
4 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -1 +1 @@
019b9547-7a93-74f0-b2df-a22f9c095db9 019b98cc-e66d-7947-b6a6-e253c1830c03
+1 -1
View File
@@ -232,7 +232,7 @@ import {
Database.addOrUpdateProofs(updatedProofs, isPending, isSpent) 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 } return { updatedAmount, updatedProofs }
}, },
+2 -2
View File
@@ -34,7 +34,7 @@ import RNExitApp from 'react-native-exit-app'
import { TransactionStatus } from '../models/Transaction' import { TransactionStatus } from '../models/Transaction'
import { maxTransactionsInHistory } from '../models/TransactionsStore' import { maxTransactionsInHistory } from '../models/TransactionsStore'
import { StaticScreenProps, useNavigation } from '@react-navigation/native' import { StaticScreenProps, useNavigation } from '@react-navigation/native'
// refresh //
type Props = StaticScreenProps<undefined> type Props = StaticScreenProps<undefined>
@@ -300,7 +300,7 @@ ${Platform.OS === 'android' ? 'Android version code: ' + ANDROID_VERSION_CODE :
Commit: ${COMMIT} Commit: ${COMMIT}
DB version: ${dbVersion} DB version: ${dbVersion}
State size: ${walletStateSize.toLocaleString()} bytes State size: ${walletStateSize.toLocaleString()} bytes
React Native: ${rnVersion}ß React Native: ${rnVersion}
Sentry id: ${walletProfileStore.walletId} Sentry id: ${walletProfileStore.walletId}
`} `}
leftIcon='faInfoCircle' leftIcon='faInfoCircle'
+1 -1
View File
@@ -929,7 +929,7 @@ const addOrUpdateProofs = function (
// DO NOT log proof secrets to Sentry // DO NOT log proof secrets to Sentry
log.info('[addOrUpdateProofs]', 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} {isPending, isSpent}
) )