From 16c073c4e04a3207c3e3120de9550c6403a1dea3 Mon Sep 17 00:00:00 2001 From: teor Date: Thu, 25 Mar 2021 11:55:06 +1000 Subject: [PATCH] Comment: transparent sighash in script verifier --- zebra-consensus/src/transaction.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/zebra-consensus/src/transaction.rs b/zebra-consensus/src/transaction.rs index c011aa60..6bc7dd6f 100644 --- a/zebra-consensus/src/transaction.rs +++ b/zebra-consensus/src/transaction.rs @@ -163,6 +163,7 @@ where check::coinbase_tx_no_joinsplit_or_spend(&tx)?; } else { // feed all of the inputs to the script and shielded verifiers + // the script_verifier also checks transparent sighashes, using its own implementation let cached_ffi_transaction = Arc::new(CachedFfiTransaction::new(tx.clone()));