Skip to content

Commit

Permalink
remove comments
Browse files Browse the repository at this point in the history
  • Loading branch information
callebtc committed Aug 16, 2024
1 parent 1fa9065 commit 25f75f0
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/stores/wallet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1049,10 +1049,6 @@ export const useWalletStore = defineStore("wallet", {
const resp = await axios.get(host); // Moved it here: we don't want 2 potential calls
data = resp.data;
} else if (address.toLowerCase().slice(0, 6) === "lnurl1") {
// let host = Buffer.from(
// bech32.fromWords(bech32.decode(address, 20000).words)
// ).toString();
// without Buffer:
let decoded = bech32.decode(address, 20000);
const words = bech32.fromWords(decoded.words);
const uint8Array = new Uint8Array(words);
Expand Down

0 comments on commit 25f75f0

Please sign in to comment.