Skip to content

Commit beb6a02

Browse files
authored
Merge pull request #11 from kryptokrauts/chore/timestamp-as-unix-ts
chore: timestamp as unix ts
2 parents ee952cf + 238919d commit beb6a02

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)