|
|
@ -434,7 +434,7 @@ public: |
|
|
|
// Immediate operand
|
|
|
|
// Immediate operand
|
|
|
|
if (opcode <= OP_PUSHDATA4) |
|
|
|
if (opcode <= OP_PUSHDATA4) |
|
|
|
{ |
|
|
|
{ |
|
|
|
unsigned int nSize; |
|
|
|
unsigned int nSize = 0; |
|
|
|
if (opcode < OP_PUSHDATA1) |
|
|
|
if (opcode < OP_PUSHDATA1) |
|
|
|
{ |
|
|
|
{ |
|
|
|
nSize = opcode; |
|
|
|
nSize = opcode; |
|
|
@ -646,7 +646,7 @@ public: |
|
|
|
|
|
|
|
|
|
|
|
template<typename Stream> |
|
|
|
template<typename Stream> |
|
|
|
void Unserialize(Stream &s, int nType, int nVersion) { |
|
|
|
void Unserialize(Stream &s, int nType, int nVersion) { |
|
|
|
unsigned int nSize; |
|
|
|
unsigned int nSize = 0; |
|
|
|
s >> VARINT(nSize); |
|
|
|
s >> VARINT(nSize); |
|
|
|
if (nSize < nSpecialScripts) { |
|
|
|
if (nSize < nSpecialScripts) { |
|
|
|
std::vector<unsigned char> vch(GetSpecialSize(nSize), 0x00); |
|
|
|
std::vector<unsigned char> vch(GetSpecialSize(nSize), 0x00); |
|
|
|