We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4312c8f + d78f0da commit 3c9daa2Copy full SHA for 3c9daa2
src/script/standard.cpp
@@ -18,7 +18,7 @@ typedef vector<unsigned char> valtype;
18
19
unsigned nMaxDatacarrierBytes = MAX_OP_RETURN_RELAY;
20
21
-CScriptID::CScriptID(const CScript& in) : uint160(in.size() ? Hash160(in.begin(), in.end()) : 0) {}
+CScriptID::CScriptID(const CScript& in) : uint160(Hash160(in.begin(), in.end())) {}
22
23
const char* GetTxnOutputType(txnouttype t)
24
{
0 commit comments