Skip to content

Commit

Permalink
Fixed typo after refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
bvscd authored Apr 28, 2023
1 parent 26af123 commit 9cdd64b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/transaction_executor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -947,7 +947,7 @@ fn compute_new_state(
) -> Result<Option<ComputeSkipReason>> {
log::debug!(target: "executor", "compute_account_state");
let init_code_hash = config.has_capability(GlobalCapabilities::CapInitCodeHash);
let disable_set_lib = config.has_capability(GlobalCapabilities::CapSetLibCode);
let disable_set_lib = !config.has_capability(GlobalCapabilities::CapSetLibCode);
match acc.status() {
AccountStatus::AccStateNonexist => {
log::error!(target: "executor", "account must exist");
Expand Down

0 comments on commit 9cdd64b

Please sign in to comment.