From a5efa84d3c0ba67b7e04152bf2f17b1f80927786 Mon Sep 17 00:00:00 2001 From: Marco Granelli Date: Thu, 26 Sep 2024 16:50:55 +0200 Subject: [PATCH] Removes old reference to encrypted txs --- crates/node/src/shell/process_proposal.rs | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/crates/node/src/shell/process_proposal.rs b/crates/node/src/shell/process_proposal.rs index 1485b06f15..f037132b1f 100644 --- a/crates/node/src/shell/process_proposal.rs +++ b/crates/node/src/shell/process_proposal.rs @@ -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 @@ -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) => { @@ -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" ), ); }