This commit is contained in:
jl777
2019-01-28 23:54:41 -11:00
parent 2c7d564a90
commit 72c4217d39

View File

@@ -5174,11 +5174,20 @@ int32_t ensure_CCrequirements()
{
CCerror = "";
if ( NOTARY_PUBKEY33[0] == 0 )
{
fprintf(stderr,"no -pubkey set\n");
return(-1);
}
else if ( GetBoolArg("-addressindex", DEFAULT_ADDRESSINDEX) == 0 )
{
fprintf(stderr,"no -addressindex\n");
return(-1);
}
else if ( GetBoolArg("-spentindex", DEFAULT_SPENTINDEX) == 0 )
{
fprintf(stderr,"no -spentindex\n");
return(-1);
}
else return(0);
}