Skip to content

Commit

Permalink
fix: fallback to local timestamp for hyperliquid derivatvies ticker m…
Browse files Browse the repository at this point in the history
…essages timestamp field
  • Loading branch information
thaaddeus committed Feb 13, 2025
1 parent ddabdfd commit fb0ce4f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/mappers/hyperliquid.ts
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ export class HyperliquidDerivativeTickerMapper implements Mapper<'hyperliquid',
}

if (pendingTickerInfo.hasChanged()) {
pendingTickerInfo.updateTimestamp(localTimestamp)
yield pendingTickerInfo.getSnapshot(localTimestamp)
}
}
Expand Down

0 comments on commit fb0ce4f

Please sign in to comment.