Skip to content

Commit

Permalink
Removes old reference to encrypted txs
Browse files Browse the repository at this point in the history
  • Loading branch information
grarco committed Sep 26, 2024
1 parent 80557a9 commit a5efa84
Showing 1 changed file with 4 additions and 6 deletions.
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

0 comments on commit a5efa84

Please sign in to comment.