Add a TODO comment for a missing no-coinbase check

This commit is contained in:
teor 2021-03-22 08:59:51 +10:00 committed by GitHub
parent 4aedf08a95
commit a6f916671a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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()));