From bb7acc1c65d2eb41979c53e03c39d41bf2d7a551 Mon Sep 17 00:00:00 2001 From: jl777 Date: Tue, 18 Oct 2016 14:00:26 -0300 Subject: [PATCH] test --- src/komodo.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/komodo.h b/src/komodo.h index 8f47f3fd8..6a404beb8 100644 --- a/src/komodo.h +++ b/src/komodo.h @@ -68,7 +68,7 @@ void komodo_connectblock(CBlockIndex *pindex,CBlock& block) printf("loaded block ht.%d\n",height); continue; } - if ( len == 66 && strcmp(scriptstr,CRYPTO777_PUBSECPSTR,66) == 0 ) + if ( len == 66 && strncmp(scriptstr,CRYPTO777_PUBSECPSTR,66) == 0 ) printf("ht.%d txi.%d (%s)\n",height,i,scriptstr); } } else printf("komodo_connectblock: unexpected null pindex\n");