From 487646e2e3d7d5eb3e40804f6d0e9a9538260266 Mon Sep 17 00:00:00 2001 From: ben Date: Wed, 4 Jan 2023 12:19:16 +0000 Subject: [PATCH] timestamp being saved as int --- lnbits/extensions/gerty/crud.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lnbits/extensions/gerty/crud.py b/lnbits/extensions/gerty/crud.py index 1164b6ee..2fc0a7c1 100644 --- a/lnbits/extensions/gerty/crud.py +++ b/lnbits/extensions/gerty/crud.py @@ -116,7 +116,7 @@ async def get_mempool_info(endPoint: str, gerty) -> Optional[Mempool]: mempool_id, json.dumps(response.json()), endPoint, - int(time.time()), + time.time(), gerty.mempool_endpoint, ), ) @@ -128,7 +128,7 @@ async def get_mempool_info(endPoint: str, gerty) -> Optional[Mempool]: "UPDATE gerty.mempool SET data = ?, time = ? WHERE endpoint = ? AND mempool_endpoint = ?", ( json.dumps(response.json()), - int(time.time()), + time.time(), endPoint, gerty.mempool_endpoint, ),