diff --git a/console/executor_test_reader.cpp b/console/executor_test_reader.cpp index d9fb2ee8..5cb397b9 100644 --- a/console/executor_test_reader.cpp +++ b/console/executor_test_reader.cpp @@ -56,7 +56,7 @@ void executor::read_test(bool dump) const while (!cancel_ && keys.size() < target_count) { const auto outputs = query_.get_outputs(tx++); - if (outputs->empty()) + if (is_null(outputs)) { // fault, tx with no outputs. return;