Skip to content

Commit 155ba20

Browse files
committed
comments
1 parent 19517bf commit 155ba20

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

crates/ingress-rpc/src/validation.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,8 @@ pub fn validate_bundle(
234234
for tx_hash in &tx_hashes {
235235
if !bundle.reverting_tx_hashes.contains(tx_hash) {
236236
return Err(EthApiError::InvalidParams(
237-
"Transaction hash not found in reverting_tx_hashes".into(),
237+
"Revert protection is not supported. reverting_tx_hashes must include all hashes"
238+
.into(),
238239
)
239240
.into_rpc_err());
240241
}

0 commit comments

Comments
 (0)