Skip to content

Commit

Permalink
[chip-trace-decoder] Use the right message parser for status response (
Browse files Browse the repository at this point in the history
  • Loading branch information
vivien-apple authored and pull[bot] committed Nov 29, 2023
1 parent 0b183f1 commit cf57d96
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ CHIP_ERROR DecodeStatusResponse(TLV::TLVReader & reader, bool decode)
#if CHIP_CONFIG_IM_ENABLE_SCHEMA_CHECK
if (decode)
{
app::InvokeRequestMessage::Parser parser;
app::StatusResponseMessage::Parser parser;
ReturnErrorOnFailure(parser.Init(reader));
return parser.CheckSchemaValidity();
}
Expand Down

0 comments on commit cf57d96

Please sign in to comment.