Skip to content

Commit

Permalink
fix: remove address qr
Browse files Browse the repository at this point in the history
  • Loading branch information
ocknamo committed Feb 26, 2024
1 parent 159f405 commit fb6829b
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions lib/pos.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@ export class Pos {

getCurrntSatsAmount() {
const satsAmount = this.#satsInput.value.replaceAll(',', '');
console.info(`Pos: getCurrntSatsAmount: ${satsAmount}`);

return satsAmount || null;
}
Expand All @@ -90,9 +89,6 @@ export class Pos {

this.#clearQrCode();

// ネットワーク状況が悪いときのためにアドレスだけでも表示する
this.#showQrCode(`lightning://${this.#lnAddress.toString()}`);

try {
await this.#lnAddress.fetchAddressData();
const invoice = await this.#lnAddress.getInvoice(amount * 1000);
Expand Down

0 comments on commit fb6829b

Please sign in to comment.