Browse Source

Merge pull request #5541

d78f0da Fix CScriptID(const CScript& in) in empty script case (Peter Todd)
0.13
Wladimir J. van der Laan 10 years ago
parent
commit
3c9daa2f24
No known key found for this signature in database
GPG Key ID: 74810B012346C9A6
  1. 2
      src/script/standard.cpp

2
src/script/standard.cpp

@ -18,7 +18,7 @@ typedef vector<unsigned char> valtype;
unsigned nMaxDatacarrierBytes = MAX_OP_RETURN_RELAY; unsigned nMaxDatacarrierBytes = MAX_OP_RETURN_RELAY;
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())) {}
const char* GetTxnOutputType(txnouttype t) const char* GetTxnOutputType(txnouttype t)
{ {

Loading…
Cancel
Save