]> Git Repo - VerusCoin.git/commitdiff
Test
authorjl777 <[email protected]>
Tue, 11 Sep 2018 18:21:47 +0000 (07:21 -1100)
committerjl777 <[email protected]>
Tue, 11 Sep 2018 18:21:47 +0000 (07:21 -1100)
src/cc/dapps/oraclefeed.c

index bf8f3ac500a949109b54fe94632a664637951c69..7adc2e6e6a2092e0903f4ca460f1e6e836d0a707 100644 (file)
@@ -376,7 +376,10 @@ bits256 get_KMDblockhash(int32_t height)
     {
         fprintf(stderr,"get_KMDblockhash.(%s) %d\n",retstr,(int32_t)strlen(retstr));
         if ( strlen(retstr) >= 64 )
+        {
+            retstr[64] = 0;
             decode_hex(hash.bytes,32,retstr);
+        }
         free(retstr);
     }
     return(hash);
This page took 0.025437 seconds and 4 git commands to generate.