diff options
author | Pieter Wuille <pieter.wuille@gmail.com> | 2018-06-17 19:44:50 -0700 |
---|---|---|
committer | Pieter Wuille <pieter.wuille@gmail.com> | 2018-06-17 19:44:50 -0700 |
commit | bb582a59c7532b0e4f647d9dfe50f0d816e81427 (patch) | |
tree | 4961859632aa54894a57b87cdde4af6e2bb08c86 /src/script/standard.h | |
parent | eaba1c111e9671cdd6faf4b96c39341bbdd41632 (diff) |
Add P2WSH destination helper and use it instead of manual hashing
Diffstat (limited to 'src/script/standard.h')
-rw-r--r-- | src/script/standard.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/script/standard.h b/src/script/standard.h index 4922b7236b..1380030871 100644 --- a/src/script/standard.h +++ b/src/script/standard.h @@ -77,6 +77,7 @@ struct WitnessV0ScriptHash : public uint256 { WitnessV0ScriptHash() : uint256() {} explicit WitnessV0ScriptHash(const uint256& hash) : uint256(hash) {} + explicit WitnessV0ScriptHash(const CScript& script); using uint256::uint256; }; |