Skip to content

Commit

Permalink
minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
g1nt0ki committed Jul 25, 2024
1 parent 9f007cf commit 0d91d59
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion projects/xrpl-dex/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ module.exports = {
ripple: {
tvl,
},
misrepresentedTokens: true,
};

function getTimeNow() {
Expand All @@ -21,6 +22,5 @@ async function tvl() {
let { lastDataUpdate, tvl } = await getCache(projectKey, cacheKey)
if (!lastDataUpdate || timeNow - lastDataUpdate > aDayInSeconds)
throw new Error("stale/missing tvl data");
console.log(tvl)
return tvl
}
4 changes: 2 additions & 2 deletions projects/xrpl-dex/package.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"name": "xrpl-dex",
"version": "1.0.0",
"main": "app.js",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "",
"license": "ISC",
"license": "MIT",
"description": "",
"dependencies": {
"ripple-binary-codec": "^2.1.0"
Expand Down

0 comments on commit 0d91d59

Please sign in to comment.