We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f7da52b commit 4cb5e94Copy full SHA for 4cb5e94
src/attachSDK.ts
@@ -72,7 +72,9 @@ export default async function attachSDK(): Promise<ICreditAccountsService> {
72
gateways: config.redstoneGateways,
73
},
74
pyth: {
75
- historicTimestamp: optimisticTimestamp,
+ historicTimestamp: optimisticTimestamp
76
+ ? Math.floor(optimisticTimestamp / 1000)
77
+ : undefined,
78
79
logger,
80
});
0 commit comments