Skip to content

Commit ab6fbfb

Browse files
committed
Merge remote-tracking branch 'origin/v72'
2 parents 8cf417d + 688d9ab commit ab6fbfb

File tree

2 files changed

+1067
-519
lines changed

2 files changed

+1067
-519
lines changed

src/templates/strategy/strategy-daily-earnings.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,9 @@ export const processStrategyDailyEarnings = async (ctx: Context, blocks: Block[]
3737
apy: latest?.apy ?? 0,
3838
})
3939
results.push(current)
40+
} else {
41+
current.blockNumber = block.header.height
42+
current.timestamp = new Date(block.header.timestamp)
4043
}
4144

4245
// Get the latest StrategyYield results.

0 commit comments

Comments
 (0)