Skip to content

Commit 85d78a1

Browse files
committed
fixup! Fix moonpay
1 parent 1a80ddc commit 85d78a1

1 file changed

Lines changed: 1 addition & 7 deletions

File tree

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)