File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -312,8 +312,8 @@ WrappedTransaction Transaction<SdkRequestType>::fromBytes(const std::vector<std:
312312 // Only FileAppend and TopicMessageSubmit (chunked transactions) legitimately have multiple transactionIds.
313313 // This prevents an attacker from smuggling hidden transactions with different transactionIds
314314 // that would get signed but not displayed to the user.
315- const auto transactionType = (expectedDataCase != proto::TransactionBody::DATA_NOT_SET) ? expectedDataCase
316- : txBody.data_case ();
315+ const auto transactionType =
316+ (expectedDataCase != proto::TransactionBody::DATA_NOT_SET) ? expectedDataCase : txBody.data_case ();
317317 const bool isChunkedTransactionType = (transactionType == proto::TransactionBody::kFileAppend ||
318318 transactionType == proto::TransactionBody::kConsensusSubmitMessage );
319319
You can’t perform that action at this time.
0 commit comments