diff --git a/README.md b/README.md index dd28b36a86..0eb33cde50 100644 --- a/README.md +++ b/README.md @@ -10,6 +10,7 @@ [![Build Status](https://github.com/vmware/concord-bft/workflows/Debug%20build%20(clang)/badge.svg)](https://github.com/vmware/concord-bft/actions?query=workflow%3A"Debug+build+%28clang%29")
[![Build Status](https://github.com/vmware/concord-bft/workflows/Restart%20recovery%20suite/badge.svg)](https://github.com/vmware/concord-bft/actions?query=workflow%3A"Restart+recovery+suite")
+ diff --git a/bftengine/src/bftengine/ReplicaImp.cpp b/bftengine/src/bftengine/ReplicaImp.cpp index 7456c69b01..d7704f3c5a 100644 --- a/bftengine/src/bftengine/ReplicaImp.cpp +++ b/bftengine/src/bftengine/ReplicaImp.cpp @@ -198,12 +198,14 @@ void ReplicaImp::messageHandler(std::unique_ptr msg) { return; } } + if constexpr (std::is_same_v) { if (validateMessage(trueTypeObj.get())) { onMessage(std::move(trueTypeObj)); } return; } + if (!isCollectingState()) { // The message validation of few messages require time-consuming processes like // digest calculation, signature verification etc. Such messages are identified