Skip to content

Commit

Permalink
Merge pull request #13 from kryptokrauts/feat/v1.0.16
Browse files Browse the repository at this point in the history
chore: add zulu to emit current block
  • Loading branch information
marc0olo authored Apr 17, 2024
2 parents deb1900 + 9b91885 commit 8e31453
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@kryptokrauts/event-processor-node-lib",
"version": "1.0.15",
"version": "1.0.16",
"description": "Wrapper for ease listening on antelope blockchain based on @blockmatic/antelope-ship-reader",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion src/eosio/ship-reader-wrapper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ export class ShipReaderWrapper {
await this.kafka_wrapper.sendEvent(
JSON.stringify({
blocknum: block.block_num,
timestamp: new Date(block.timestamp).getTime(),
timestamp: new Date(block.timestamp + 'Z').getTime(),
}),
'current_block',
);
Expand Down

0 comments on commit 8e31453

Please sign in to comment.