Skip to content

Commit

Permalink
fix ts error
Browse files Browse the repository at this point in the history
  • Loading branch information
dtmkeng committed Feb 14, 2024
1 parent 040452f commit 8bf0ea8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion dexs/bisq/historical.json

This file was deleted.

6 changes: 3 additions & 3 deletions dexs/bisq/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ interface IVolumeall {
period_start: number;
}

const fetch = async (timestamp: number, _: ChainBlocks, {startOfDay, createBalances, }: FetchOptions) => {
const fetch = async (__: number, _: ChainBlocks, {startOfDay, createBalances, }: FetchOptions) => {
const totalVolume = createBalances()
const dailyVolume = createBalances()

Expand All @@ -22,8 +22,8 @@ const fetch = async (timestamp: number, _: ChainBlocks, {startOfDay, createBalan
.find(dayItem => dayItem.period_start === startOfDay)?.volume
dailyVolume.addCGToken('bitcoin', +(dailyVol as any))

return {
// totalVolume,
return {
// totalVolume,
dailyVolume, timestamp: startOfDay };
};

Expand Down

0 comments on commit 8bf0ea8

Please sign in to comment.