test
This commit is contained in:
@@ -348,7 +348,7 @@ char *komodo_issuemethod(char *userpass,char *method,char *params,uint16_t port)
|
||||
|
||||
uint256 komodo_getblockhash(int32_t height)
|
||||
{
|
||||
uint256 hash; char params[128];
|
||||
uint256 hash; char params[128],*hexstr;
|
||||
memset(&hash,0,sizeof(hash));
|
||||
sprintf(params,"[%d]",height);
|
||||
if ( (hexstr= komodo_issuemethod(KMDUSERPASS,"getblockhash",params,7771)) != 0 )
|
||||
|
||||
Reference in New Issue
Block a user