Skip to content

Commit b59e473

Browse files
authored
Merge pull request #3916 from anoma/mergify/bp/0.44.0/pr-3850
Removes old reference to encrypted txs (backport #3850)
2 parents 961237f + 828cd3a commit b59e473

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

crates/node/src/shell/process_proposal.rs

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -116,8 +116,7 @@ where
116116
}
117117

118118
/// Evaluates the corresponding [`TxResult`] for each tx in the
119-
/// proposal. Additionally, counts the number of digest
120-
/// txs and the bytes used by encrypted txs in the proposal.
119+
/// proposal.
121120
///
122121
/// `ProcessProposal` should be able to make a decision on whether a
123122
/// proposed block is acceptable or not based solely on what this
@@ -274,8 +273,8 @@ where
274273
// If it is a raw transaction, we do no further validation
275274
TxType::Raw => TxResult {
276275
code: ResultCode::InvalidTx.into(),
277-
info: "Transaction rejected: Non-encrypted transactions are \
278-
not supported"
276+
info: "Transaction rejected: Raw transactions are not \
277+
supported"
279278
.into(),
280279
},
281280
TxType::Protocol(protocol_tx) => {
@@ -1131,8 +1130,7 @@ mod test_process_proposal {
11311130
assert_eq!(
11321131
response.result.info,
11331132
String::from(
1134-
"Transaction rejected: Non-encrypted transactions are not \
1135-
supported"
1133+
"Transaction rejected: Raw transactions are not supported"
11361134
),
11371135
);
11381136
}

0 commit comments

Comments
 (0)