diff --git a/libraries/chain/controller.cpp b/libraries/chain/controller.cpp index 4b6e978221..f94e2427f5 100644 --- a/libraries/chain/controller.cpp +++ b/libraries/chain/controller.cpp @@ -4413,7 +4413,8 @@ struct controller_impl { if (!switch_fork) { if (check_shutdown()) { shutdown(); - break; // result should be complete since we are shutting down + result = controller::apply_blocks_result::incomplete; // doesn't really matter since we are shutting down + break; } if (result == controller::apply_blocks_result::complete) { // Break every ~500ms to allow other tasks (e.g. get_info, SHiP) opportunity to run. User expected