Skip to content

Commit

Permalink
fix timestamp
Browse files Browse the repository at this point in the history
  • Loading branch information
0xngmi committed Jun 26, 2024
1 parent ac65cb5 commit ec5d603
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions projects/fusefi-lending/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ const olalending = usdCompoundExports(unitroller_fuse, "fuse", "0x025B0ff0920298
module.exports = {
fuse:{
tvl: olalending.tvl,
borrowed: async function(timestamp, ...otherParams){
if(timestamp >= 1648684800){
borrowed: async function(api){
if(api.timestamp >= 1648684800){
return {}
}
return olalending.borrowed(timestamp, ...otherParams)
return olalending.borrowed(api)
}
},
hallmarks: [
Expand Down

0 comments on commit ec5d603

Please sign in to comment.