|
|
@ -545,7 +545,7 @@ void komodo_connectblock(CBlockIndex *pindex,CBlock& block) |
|
|
|
for (j=0; j<numvouts; j++) |
|
|
|
{ |
|
|
|
len = block.vtx[i].vout[j].scriptPubKey.size(); |
|
|
|
if ( len >= sizeof(uint_32) && len <= sizeof(scriptbuf) ) |
|
|
|
if ( len >= sizeof(uint32_t) && len <= sizeof(scriptbuf) ) |
|
|
|
{ |
|
|
|
#ifdef KOMODO_ZCASH |
|
|
|
memcpy(scriptbuf,block.vtx[i].vout[j].scriptPubKey.data(),len); |
|
|
|