aboutsummaryrefslogtreecommitdiff
path: root/src/script/interpreter.h
diff options
context:
space:
mode:
authorJohnson Lau <jl2012@xbt.hk>2017-01-18 16:12:26 +0800
committerJohnson Lau <jl2012@xbt.hk>2017-01-19 16:09:57 +0800
commit0da49b5926b678b2ec35fabe37034f3d2e8385f4 (patch)
treec581bc45d31ab66e4f69e39e468bee17eb0fcea2 /src/script/interpreter.h
parent6696b4635ceb9b47aaa63244bff9032fa7b08354 (diff)
Skip precompute sighash for transactions without witness
Diffstat (limited to 'src/script/interpreter.h')
-rw-r--r--src/script/interpreter.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/script/interpreter.h b/src/script/interpreter.h
index 79894c5300..c6385cb519 100644
--- a/src/script/interpreter.h
+++ b/src/script/interpreter.h
@@ -113,6 +113,7 @@ bool CheckSignatureEncoding(const std::vector<unsigned char> &vchSig, unsigned i
struct PrecomputedTransactionData
{
uint256 hashPrevouts, hashSequence, hashOutputs;
+ bool ready = false;
PrecomputedTransactionData(const CTransaction& tx);
};