Skip to content

Commit

Permalink
fix: modify cfg spec_id (#1095) (#1096)
Browse files Browse the repository at this point in the history
  • Loading branch information
publicqi authored Feb 16, 2024
1 parent 94894a5 commit 5de40c7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/revm/src/handler.rs
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,7 @@ impl<'a, EXT, DB: Database> EvmHandler<'a, EXT, DB> {
handler.append_handler_register(register)
}
handler.cfg = self.cfg();
handler.cfg.spec_id = spec_id;
*self = handler;
}
}
Expand Down

0 comments on commit 5de40c7

Please sign in to comment.