From 4d61a87083f36ab08457933991ab7f1b28f34e04 Mon Sep 17 00:00:00 2001 From: Khaled Al-Hassanieh Date: Thu, 29 Mar 2018 16:32:31 -0400 Subject: [PATCH] GH#1938 - Ignore unexpected actions in system contract instead of failing --- contracts/eosio.system/eosio.system.hpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/contracts/eosio.system/eosio.system.hpp b/contracts/eosio.system/eosio.system.hpp index 67607a021..8787f26bb 100644 --- a/contracts/eosio.system/eosio.system.hpp +++ b/contracts/eosio.system/eosio.system.hpp @@ -189,9 +189,6 @@ namespace eosiosystem { using undelegatebw = typename delegate_bandwidth::undelegatebw; if(code == undelegatebw::get_account() && act == undelegatebw::get_name() ){ contract().on( receiver, eosio::unpack_action_data() ); - } else { - eosio::print("Unexpected action: ", eosio::name{act}, "\n"); - eosio_assert( false, "received unexpected action"); } } } -- GitLab