Skip to content
Open
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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")<br/>
[![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")<br/>


<!-- ![Concored-bft Logo](TBD) -->

<!-- <img src="TODO.jpg" width="200" height="200" /> -->
Expand Down
2 changes: 2 additions & 0 deletions bftengine/src/bftengine/ReplicaImp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -198,12 +198,14 @@ void ReplicaImp::messageHandler(std::unique_ptr<MessageBase> msg) {
return;
}
}

if constexpr (std::is_same_v<T, StateTransferMsg>) {
if (validateMessage(trueTypeObj.get())) {
onMessage<T>(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
Expand Down