Skip to content

Commit 238919d

Browse files
committed
chore: timestamp as unix ts
1 parent ee952cf commit 238919d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/eosio/ship-reader-wrapper.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ export class ShipReaderWrapper {
161161
await this.kafka_wrapper.sendEvent(
162162
JSON.stringify({
163163
blocknum: block.block_num,
164-
timestamp: block.timestamp,
164+
timestamp: new Date(block.timestamp).getTime(),
165165
}),
166166
'current_block',
167167
);

0 commit comments

Comments
 (0)