mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-12-05 18:23:03 +01:00
Add P2WSH destination helper and use it instead of manual hashing
This commit is contained in:
@@ -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;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user