Fix: Wrong expiration date in invoice details (#2506)

* invoices without the x tag, should be assumed to take 3600 seconds to expire

* update bolt11 package and use built in method to calculate the invoice expiry date

* fix linter errors
This commit is contained in:
Gonçalo Valério 2024-05-16 13:48:58 +01:00 committed by GitHub
parent b84161c49d
commit 7a6c3646fb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 27 additions and 16 deletions

View file

@ -40,7 +40,7 @@ slowapi = "0.1.9"
websocket-client = "1.6.3"
pycryptodomex = "3.19.1"
packaging = "23.1"
bolt11 = "2.0.5"
bolt11 = "2.0.6"
# needed for new login methods: username-password, google-auth, github-auth
bcrypt = "^4.1.1"
python-jose = "^3.3.0"