This commit is contained in:
jl777
2017-02-07 18:24:19 +02:00
parent 0554de3c4b
commit 97561034f6
2 changed files with 2 additions and 2 deletions

View File

@@ -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);