Skip to content

Commit 58b0536

Browse files
committed
fixup! Fix moonpay
1 parent d4dce4f commit 58b0536

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

src/partners/moonpay.ts

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -199,13 +199,7 @@ export const moonpay: PartnerPlugin = {
199199
}
200200

201201
export function processMoonpayTx(rawTx: unknown): StandardTx {
202-
let tx: MoonpayTx
203-
try {
204-
tx = asMoonpayTx(rawTx)
205-
} catch (e) {
206-
console.log(e)
207-
throw e
208-
}
202+
const tx: MoonpayTx = asMoonpayTx(rawTx)
209203
const isoDate = tx.createdAt.toISOString()
210204
const timestamp = tx.createdAt.getTime()
211205

0 commit comments

Comments
 (0)