Skip to content

Commit

Permalink
remove some logs
Browse files Browse the repository at this point in the history
  • Loading branch information
KKA11010 committed Sep 10, 2023
1 parent 7026a8b commit facc3c0
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
3 changes: 0 additions & 3 deletions src/screens/Payment/Success.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import type { TSuccessPageProps } from '@model/nav'
import { useFocusEffect } from '@react-navigation/core'
import { useThemeContext } from '@src/context/Theme'
import { NS } from '@src/i18n'
import { l } from '@src/logger'
import { mainColors } from '@styles'
import { formatInt, vib } from '@util'
import LottieView from 'lottie-react-native'
Expand Down Expand Up @@ -37,8 +36,6 @@ export default function SuccessPage({ navigation, route }: TSuccessPageProps) {
}, [])
)

l('render success page')

return shouldHide ? null : (
<View style={[styles.container, { backgroundColor: color.BACKGROUND }]}>
<Logo size={250} style={styles.img} success />
Expand Down
1 change: 0 additions & 1 deletion src/wallet/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,6 @@ export async function payLnInvoice(mintUrl: string, invoice: string, fee: number
if (returnChange.length) { await addToken({ token: [{ mint: mintUrl, proofs: returnChange }] }) }
if (send?.length) { await deleteProofs(proofs) }
try {
// l({invoiceeeeee: invoice})
const result = await wallet.payLnInvoice(invoice, send, fee)
// l('[payLnInvoice]', { result, mintUrl, amount })
if (result?.newKeys) { _setKeys(mintUrl, result.newKeys) }
Expand Down

0 comments on commit facc3c0

Please sign in to comment.