From 763b358b4991181007fddc68d4dd238268a83836 Mon Sep 17 00:00:00 2001 From: Khaled Al-Hassanieh Date: Thu, 29 Mar 2018 14:33:23 -0400 Subject: [PATCH] Small fix --- libraries/chain/apply_context.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/chain/apply_context.cpp b/libraries/chain/apply_context.cpp index f1dea2de5..478543473 100644 --- a/libraries/chain/apply_context.cpp +++ b/libraries/chain/apply_context.cpp @@ -20,7 +20,7 @@ void apply_context::exec_one() (*native)(*this); } - if (a.code.size() > 0 && !(act.name == N(setcode) && receiver == config::system_account_name)) { + if (a.code.size() > 0 && !(act.name == N(setcode) && act.account == config::system_account_name)) { try { mutable_controller.get_wasm_interface().apply(a.code_version, a.code, *this); } catch ( const wasm_exit& ){} -- GitLab