diff --git a/src/script/zcash_script.cpp b/src/script/zcash_script.cpp index 2c57c86ae..d6b425a7a 100644 --- a/src/script/zcash_script.cpp +++ b/src/script/zcash_script.cpp @@ -186,7 +186,6 @@ unsigned int zcash_script_legacy_sigop_count_precomputed( zcash_script_error* err) { const PrecomputedTransaction* preTx = static_cast(pre_preTx); - const CTransaction& tx = preTx->tx; // The current implementation of this method never errors. set_error(err, zcash_script_ERR_OK);