mirror of
https://github.com/lnbits/lnbits.git
synced 2025-04-10 12:59:43 +02:00
Merge pull request #1305 from blackcoffeexbt/fix/gerty_mempool_caching_timestamp_bug
Fix/gerty mempool caching timestamp bug
This commit is contained in:
commit
1fcbd8923b
@ -117,7 +117,7 @@ async def get_mempool_info(endPoint: str, gerty) -> dict:
|
||||
mempool_id,
|
||||
json.dumps(response.json()),
|
||||
endPoint,
|
||||
time.time(),
|
||||
db.timestamp_now,
|
||||
gerty.mempool_endpoint,
|
||||
),
|
||||
)
|
||||
@ -129,7 +129,7 @@ async def get_mempool_info(endPoint: str, gerty) -> dict:
|
||||
"UPDATE gerty.mempool SET data = ?, time = ? WHERE endpoint = ? AND mempool_endpoint = ?",
|
||||
(
|
||||
json.dumps(response.json()),
|
||||
time.time(),
|
||||
db.timestamp_now,
|
||||
endPoint,
|
||||
gerty.mempool_endpoint,
|
||||
),
|
||||
|
Loading…
x
Reference in New Issue
Block a user