message: don't consider invoice valid if it has expired
diff: import { getDescription } from "./lightning"
  import { Token } from "./token"
  import * as lightningPayReq from 'bolt11'
  +import moment from "moment"
  type valid = boolean
  type errorMEssage = string | null
  @@ -51,6 +52,12 @@ export const validInvoice = (s: string): [valid, errorMEssage?, invoice?, amount
  amountless = true
  }
  + // TODO: show that the invoice has expired in the popup
  + if (payReq?.timeExpireDate < moment().unix()) {
  + console.tron.log("invoice has expired")
  + return [false, "invoice has expired"]
  + }
  +
  note = getDescription(payReq)
  return [true,, invoice, amount, amountless, note]
  }
  \ No newline at end of file
  