fix staking destination, enable staking with genproclimit=0, enable cross chain notarization checks for notary nodes
This commit is contained in:
@@ -1510,6 +1510,16 @@ void komodo_args(char *argv0)
|
||||
if ( strlen(NOTARY_PUBKEY.c_str()) == 66 )
|
||||
{
|
||||
USE_EXTERNAL_PUBKEY = 1;
|
||||
if ( IS_KOMODO_NOTARY == 0 )
|
||||
{
|
||||
for (i=0; i<sizeof(Notaries_elected1)/sizeof(*Notaries_elected1); i++)
|
||||
if ( strcmp(NOTARY_PUBKEY.c_str(),Notaries_elected1[i][1]) == 0 )
|
||||
{
|
||||
IS_KOMODO_NOTARY = 1;
|
||||
fprintf(stderr,"running as notary.%d %s\n",i,Notaries_elected1[i][0])
|
||||
break;
|
||||
}
|
||||
}
|
||||
//KOMODO_PAX = 1;
|
||||
} //else KOMODO_PAX = GetArg("-pax",0);
|
||||
name = GetArg("-ac_name","");
|
||||
|
||||
Reference in New Issue
Block a user