Skip to content

Commit

Permalink
chore: fix finality blocknum
Browse files Browse the repository at this point in the history
  • Loading branch information
mitch-lbw committed Apr 9, 2024
1 parent 51be207 commit 3cc3721
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .env_template
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ EOSIO_FETCH_TRACES=true
# fetch deltas true/false
EOSIO_FETCH_DELTAS=true
# number of blocks until tx is final
EOSIO_NUM_BLOCKS_TO_FINALITY=180
EOSIO_NUM_BLOCKS_TO_FINALITY=360

# unique client_id for interacting with Kafka
KAFKA_CLIENT_ID=
Expand Down
2 changes: 1 addition & 1 deletion src/common/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export const EOSIO_CONFIG = {
fetch_block: process.env.EOSIO_FETCH_BLOCK !== 'false',
fetch_traces: process.env.EOSIO_FETCH_TRACES !== 'false',
fetch_deltas: process.env.EOSIO_FETCH_DELTAS !== 'false',
num_blocks_to_finality: Number(process.env.EOSIO_NUM_BLOCKS_TO_FINALITY || 180),
num_blocks_to_finality: Number(process.env.EOSIO_NUM_BLOCKS_TO_FINALITY || 360),
};

export const KAFKA_CONFIG: KafkaConfig = {
Expand Down

0 comments on commit 3cc3721

Please sign in to comment.