tapLeafHash method
Implementation
Uint8List? tapLeafHash(TapLeafScript? tapLeaf) {
if (tapLeaf == null) return null;
return Uint8List.fromList(bscript.taggedHash('TapLeaf',
[tapLeaf.version] + [tapLeaf.script.length] + tapLeaf.script));
}