forked from Kieran/snort
Remove logs
This commit is contained in:
parent
456bd1b2fb
commit
8c0b0ac986
@ -9,7 +9,7 @@ export default function Invoice(props) {
|
||||
const info = useMemo(() => {
|
||||
try {
|
||||
let parsed = invoiceDecode(invoice);
|
||||
console.debug("Parsed invoice: ", parsed);
|
||||
|
||||
let amount = parseInt(parsed.sections.find(a => a.name === "amount")?.value);
|
||||
let timestamp = parseInt(parsed.sections.find(a => a.name === "timestamp")?.value);
|
||||
let expire = parseInt(parsed.sections.find(a => a.name === "expiry")?.value);
|
||||
@ -22,7 +22,6 @@ export default function Invoice(props) {
|
||||
if (ret.expire) {
|
||||
ret.expired = ret.expire < (new Date().getTime() / 1000);
|
||||
}
|
||||
console.log(ret);
|
||||
return ret;
|
||||
} catch (e) {
|
||||
console.error(e);
|
||||
|
Loading…
Reference in New Issue
Block a user