mirror of
https://github.com/lnbits/lnbits-legend.git
synced 2025-02-24 14:51:05 +01: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
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Reference in a new issue