diff options
| author | Johnson Lau <[email protected]> | 2017-01-18 16:12:26 +0800 |
|---|---|---|
| committer | Johnson Lau <[email protected]> | 2017-01-19 16:09:57 +0800 |
| commit | 0da49b5926b678b2ec35fabe37034f3d2e8385f4 (patch) | |
| tree | c581bc45d31ab66e4f69e39e468bee17eb0fcea2 /src/script/interpreter.h | |
| parent | Merge #9561: Wake message handling thread when we receive a new block (diff) | |
| download | discoin-0da49b5926b678b2ec35fabe37034f3d2e8385f4.tar.xz discoin-0da49b5926b678b2ec35fabe37034f3d2e8385f4.zip | |
Skip precompute sighash for transactions without witness
Diffstat (limited to 'src/script/interpreter.h')
| -rw-r--r-- | src/script/interpreter.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/script/interpreter.h b/src/script/interpreter.h index 79894c530..c6385cb51 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); }; |