Explorar el Código

validator: Remove false comments

parazyd hace 2 años
padre
commit
c4afe20f92
Se han modificado 1 ficheros con 1 adiciones y 3 borrados
  1. 1 3
      src/validator/verification.rs

+ 1 - 3
src/validator/verification.rs

@@ -524,13 +524,11 @@ pub async fn verify_transaction(
 
 /// Verify a set of [`Transaction`] in sequence and apply them if all are valid.
 /// In case any of the transactions fail, they will be returned to the caller.
-/// The function takes a boolean called `write` which tells it to actually write
-/// the state transitions to the database.
 pub async fn verify_transactions(
     overlay: &BlockchainOverlayPtr,
     time_keeper: &TimeKeeper,
     txs: &[Transaction],
-    verify_fees: bool, // FIXME: Remove this bool
+    verify_fees: bool,
 ) -> Result<Vec<Transaction>> {
     debug!(target: "validator::verification::verify_transactions", "Verifying {} transactions", txs.len());