Skip to content

Commit

Permalink
fix: bump refund QR code size
Browse files Browse the repository at this point in the history
Swaps from Liquid to BOLT12 invoices need more pixels to be able to be
scanned reliably
  • Loading branch information
michael1011 committed Jan 6, 2025
1 parent 7f90b7b commit 1cfa933
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/DownloadRefund.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const DownloadRefund = () => {
swap: { id: string } & Record<string, unknown>,
) => {
QRCode.toDataURL(JSON.stringify(swap), {
width: 1200,
width: 2500,
errorCorrectionLevel: "L",
})
.then((url: string) => {
Expand Down

0 comments on commit 1cfa933

Please sign in to comment.