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

index 3a5dbed6b536ed559d78de8552a9b9d724ae2988..a0bcfed1cd5f83818efd5e4d2017af544c1b8f61 100644 (file)
@@ -364,6 +364,7 @@ bits256 get_KMDblockhash(int32_t height)
 {
     cJSON *retjson; char *retstr,heightstr[32]; bits256 hash;
     memset(hash.bytes,0,sizeof(hash));
+    sprintf(heightstr,"%d",height);
     if ( (retjson= get_komodocli(&retstr,"","getblockhash",heightstr,"","")) != 0 )
     {
         fprintf(stderr,"unexpected blockhash json.(%s)\n",jprint(retjson,0));
This page took 0.022373 seconds and 4 git commands to generate.