matchPayToWitnessScriptHash

Matches the script to a pay-to-witness-script-hash (P2WSH).

Return

the script hash, a SHA256 of the witness script..

Parameters

script

Non-null pointer to a script