test
This commit is contained in:
@@ -193,7 +193,7 @@ int32_t komodo_threshold(uint64_t signedmask)
|
|||||||
int32_t komodo_stateupdate(uint8_t notarypubs[][33],uint8_t numnotaries)
|
int32_t komodo_stateupdate(uint8_t notarypubs[][33],uint8_t numnotaries)
|
||||||
{
|
{
|
||||||
static FILE *fp; static int32_t errs; char fname[512]; uint8_t func,num,pubkeys[64][33];
|
static FILE *fp; static int32_t errs; char fname[512]; uint8_t func,num,pubkeys[64][33];
|
||||||
sprintf(fname,"%s/%s",boost::filesystem::is_directory(GetDataDir(false)),(char *)"komodostate");
|
sprintf(fname,"%s/%s",GetDataDir(false),(char *)"komodostate");
|
||||||
if ( fp == 0 )
|
if ( fp == 0 )
|
||||||
{
|
{
|
||||||
if ( (fp= fopen(fname,"rb+")) != 0 )
|
if ( (fp= fopen(fname,"rb+")) != 0 )
|
||||||
|
|||||||
Reference in New Issue
Block a user