提交 4d61a870 编写于 作者: K Khaled Al-Hassanieh

GH#1938 - Ignore unexpected actions in system contract instead of failing

上级 60fa9199
......@@ -189,9 +189,6 @@ namespace eosiosystem {
using undelegatebw = typename delegate_bandwidth<SystemAccount>::undelegatebw;
if(code == undelegatebw::get_account() && act == undelegatebw::get_name() ){
contract().on( receiver, eosio::unpack_action_data<undelegatebw>() );
} else {
eosio::print("Unexpected action: ", eosio::name{act}, "\n");
eosio_assert( false, "received unexpected action");
}
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册