From 16db178d7979016762bbfcdad36ae40d039f4d15 Mon Sep 17 00:00:00 2001 From: jl777 Date: Mon, 21 Nov 2016 10:24:11 -0300 Subject: [PATCH] test --- src/komodo_bitcoind.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/komodo_bitcoind.h b/src/komodo_bitcoind.h index 0e6bccf3e..b57421a5d 100644 --- a/src/komodo_bitcoind.h +++ b/src/komodo_bitcoind.h @@ -351,7 +351,7 @@ uint256 komodo_getblockhash(int32_t height) uint256 hash; char params[128],*hexstr; memset(&hash,0,sizeof(hash)); sprintf(params,"[%d]",height); - if ( (hexstr= komodo_issuemethod(KMDUSERPASS,"getblockhash",params,7771)) != 0 ) + if ( (hexstr= komodo_issuemethod(KMDUSERPASS,(char *)"getblockhash",params,7771)) != 0 ) { if ( is_hexstr(hexstr,0) == 64 ) decode_hex((uint8_t *)&hash,32,hexstr);