Skip to content

Commit

Permalink
Enable legacy-bin feature
Browse files Browse the repository at this point in the history
  • Loading branch information
mappum committed Oct 28, 2023
1 parent 016f264 commit afc161e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ toml = { version = "0.7.2", features = ["parse"] }
semver = "1.0.18"

[features]
default = ["full", "feat-ibc", "testnet"]
default = ["full", "feat-ibc", "testnet", "legacy-bin"]
full = [
"bitcoincore-rpc-async",
"clap",
Expand Down
8 changes: 4 additions & 4 deletions src/app.rs
Original file line number Diff line number Diff line change
Expand Up @@ -452,10 +452,10 @@ mod abci {
impl BeginBlock for InnerApp {
fn begin_block(&mut self, ctx: &BeginBlockCtx) -> Result<()> {
let now = ctx.header.time.as_ref().unwrap().seconds;
self.upgrade.step(
&vec![Self::CONSENSUS_VERSION].try_into().unwrap(),
in_upgrade_window(now),
)?;
// self.upgrade.step(
// &vec![Self::CONSENSUS_VERSION].try_into().unwrap(),
// in_upgrade_window(now),
// )?;
self.staking.begin_block(ctx)?;

#[cfg(feature = "testnet")]
Expand Down

0 comments on commit afc161e

Please sign in to comment.