File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff 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 }
You can’t perform that action at this time.
0 commit comments