From 5de246ca8159dcffaa4c136a60c8bfed2028e2ee Mon Sep 17 00:00:00 2001 From: Johnson Lau Date: Fri, 11 Sep 2020 14:33:10 -0700 Subject: Implement Taproot signature hashing (BIP 341) This implements the new sighashing scheme from BIP341, with all relevant whole-transaction values precomputed once and cached. Includes changes to PrecomputedTransactionData by Pieter Wuille. --- src/validation.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/validation.cpp') diff --git a/src/validation.cpp b/src/validation.cpp index 2090d9477f..65958967ee 100644 --- a/src/validation.cpp +++ b/src/validation.cpp @@ -1538,7 +1538,7 @@ bool CheckInputScripts(const CTransaction& tx, TxValidationState &state, const C return true; } - if (!txdata.m_ready) { + if (!txdata.m_spent_outputs_ready) { std::vector spent_outputs; spent_outputs.reserve(tx.vin.size()); -- cgit v1.2.3