Skip to content

Commit

Permalink
add back consensus timeout commit config for abciplus
Browse files Browse the repository at this point in the history
  • Loading branch information
tzemanovic committed Oct 24, 2022
1 parent 77b39d9 commit a54218d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions apps/src/lib/node/ledger/tendermint_node.rs
Original file line number Diff line number Diff line change
Expand Up @@ -336,6 +336,12 @@ async fn update_tendermint_config(
config.instrumentation.namespace =
tendermint_config.instrumentation_namespace;

#[cfg(feature = "abciplus")]
{
config.consensus.timeout.commit =
config.consensus_timeout_commit.into();
}

let mut file = OpenOptions::new()
.write(true)
.truncate(true)
Expand Down

0 comments on commit a54218d

Please sign in to comment.