Closed chrisli30 closed 1 year ago
Wrap up the hour to timestamp calculation in src/common/utils. Let’s do this as soon as possible.
We have seen this code many times. Copy this function to utils. https://github.com/OAK-Foundation/oak.js/blob/1e3f04e287b5a4f6c649042e8639e54e82ef3f7e/test/utils/recurrer.ts#L53
_Originally posted by @chrisli30 in https://github.com/OAK-Foundation/xcm-demo/pull/43#discussion_r1174657842_
This has been fixed by Charles with get timestamp for the next hour and the next two hours.
get timestamp for the next hour and the next two hours.
Wrap up the hour to timestamp calculation in src/common/utils. Let’s do this as soon as possible.
We have seen this code many times. Copy this function to utils. https://github.com/OAK-Foundation/oak.js/blob/1e3f04e287b5a4f6c649042e8639e54e82ef3f7e/test/utils/recurrer.ts#L53
_Originally posted by @chrisli30 in https://github.com/OAK-Foundation/xcm-demo/pull/43#discussion_r1174657842_