Browse Source

Fix donation link

refactor
Hampus Sjöberg 4 years ago
parent
commit
59bed03228
  1. 2
      blocks.ts
  2. 2
      frontend/components/Donation.tsx

2
blocks.ts

@ -65,7 +65,7 @@ export async function bootstrapBlocks() {
const blockHash = await getblockhash(i);
const blockheader = await getblockheader(blockHash);
blocks[i % 2016].signals = (blockheader.version & (config.fork.versionBit + 1)) === config.fork.versionBit + 1;
console.log(`Block ${i % 2016} set`);
console.log(`Block ${i} set`);
}
blockCount = newBlockCount;
}

2
frontend/components/Donation.tsx

@ -23,7 +23,7 @@ export function Donation() {
<DonateContainer>
{!showQr && <DonateText onClick={() => setShowQr(true)}>Donate via Lightning Network</DonateText>}
{showQr && (
<a href={DONATION_LNURL_PAY.toLowerCase()}>
<a href={"lightning:" + DONATION_LNURL_PAY.toLowerCase()}>
<QRCode
bgColor="#FFFFFF"
fgColor="#000000"

Loading…
Cancel
Save