From a6f916671aeb83bb2393bb2d9a636fa0fe15e4d0 Mon Sep 17 00:00:00 2001 From: teor Date: Mon, 22 Mar 2021 08:59:51 +1000 Subject: [PATCH] Add a TODO comment for a missing no-coinbase check --- zebra-consensus/src/transaction.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zebra-consensus/src/transaction.rs b/zebra-consensus/src/transaction.rs index a2716dff..c5490ca4 100644 --- a/zebra-consensus/src/transaction.rs +++ b/zebra-consensus/src/transaction.rs @@ -152,10 +152,10 @@ where // Handle transparent inputs and outputs. if tx.is_coinbase() { - // do something special for coinbase transactions check::coinbase_tx_no_joinsplit_or_spend(&tx)?; } else { - // otherwise, check no coinbase inputs + // TODO: check no coinbase inputs + // feed all of the inputs to the script verifier let cached_ffi_transaction = Arc::new(CachedFfiTransaction::new(tx.clone()));