Caching working, fetches from mempool every 20 secs

This commit is contained in:
ben
2022-11-25 00:49:31 +00:00
parent e84eedd66f
commit 83e4eb16b1
3 changed files with 91 additions and 101 deletions
@@ -373,7 +373,7 @@
)
obj.fsat = new Intl.NumberFormat(LOCALE).format(obj.amount)
obj.gerty = ['/gerty/', obj.id].join('')
obj.gertyJson = ['/gerty/api/v1/gerty/', obj.id, '/0'].join('')
obj.gertyJson = ['/gerty/api/v1/gerty/pages/', obj.id, '/0'].join('')
return obj
}