Skip to content

Commit b11eda4

Browse files
committed
chore: switch default to false
1 parent 8e7e65c commit b11eda4

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/common/config.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,7 @@ export const EOSIO_CONFIG = {
1717
fetch_traces: process.env.EOSIO_FETCH_TRACES !== 'false',
1818
fetch_deltas: process.env.EOSIO_FETCH_DELTAS !== 'false',
1919
num_blocks_to_finality: Number(process.env.EOSIO_NUM_BLOCKS_TO_FINALITY || 360),
20-
irreversible_blocks_only: process.env.EOSIO_IRREVERSIBLE_BLOCKS_ONLY
21-
? process.env.EOSIO_IRREVERSIBLE_BLOCKS_ONLY !== 'false'
22-
: false,
20+
irreversible_blocks_only: process.env.EOSIO_IRREVERSIBLE_BLOCKS_ONLY === 'true',
2321
};
2422

2523
export const KAFKA_CONFIG: KafkaConfig = {

0 commit comments

Comments
 (0)