Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removes old reference to encrypted txs #3850

Merged
merged 1 commit into from
Sep 26, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 4 additions & 6 deletions crates/node/src/shell/process_proposal.rs
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,7 @@ where
}

/// Evaluates the corresponding [`TxResult`] for each tx in the
/// proposal. Additionally, counts the number of digest
/// txs and the bytes used by encrypted txs in the proposal.
/// proposal.
///
/// `ProcessProposal` should be able to make a decision on whether a
/// proposed block is acceptable or not based solely on what this
Expand Down Expand Up @@ -274,8 +273,8 @@ where
// If it is a raw transaction, we do no further validation
TxType::Raw => TxResult {
code: ResultCode::InvalidTx.into(),
info: "Transaction rejected: Non-encrypted transactions are \
not supported"
info: "Transaction rejected: Raw transactions are not \
supported"
.into(),
},
TxType::Protocol(protocol_tx) => {
Expand Down Expand Up @@ -1141,8 +1140,7 @@ mod test_process_proposal {
assert_eq!(
response.result.info,
String::from(
"Transaction rejected: Non-encrypted transactions are not \
supported"
"Transaction rejected: Raw transactions are not supported"
),
);
}
Expand Down
Loading