@@ -195,7 +195,7 @@ export class ShipReaderWrapper {
195195 if ( result && result . msg ) {
196196 const msg = JSON . stringify ( {
197197 blocknum : block . block_num ,
198- timestamp : new Date ( block . timestamp ) . getTime ( ) ,
198+ timestamp : new Date ( block . timestamp + 'Z' ) . getTime ( ) ,
199199 type : action . name ,
200200 transaction_id : action . transaction_id ,
201201 data : result . msg ,
@@ -257,7 +257,7 @@ export class ShipReaderWrapper {
257257 * @returns
258258 */
259259 private async getShipReader ( ) {
260- if ( this . config . only_irreversible_blocks ) {
260+ if ( EOSIO_CONFIG . irreversible_blocks_only ) {
261261 logger . info ( `Configuration is set to fetch irreversible blocks only` ) ;
262262 }
263263
@@ -288,7 +288,7 @@ export class ShipReaderWrapper {
288288 end_block_num : 0xffffffff ,
289289 max_messages_in_flight : EOSIO_CONFIG . max_messages_in_flight ,
290290 have_positions : [ ] ,
291- irreversible_only : this . config . only_irreversible_blocks ,
291+ irreversible_only : EOSIO_CONFIG . irreversible_blocks_only ,
292292 fetch_block : EOSIO_CONFIG . fetch_block ,
293293 fetch_traces : EOSIO_CONFIG . fetch_traces ,
294294 fetch_deltas : EOSIO_CONFIG . fetch_deltas ,
0 commit comments