add a print for isstaked

This commit is contained in:
blackjok3r
2018-09-24 18:58:38 +08:00
parent fdf332d9ab
commit 6120642eb1
2 changed files with 3 additions and 2 deletions

View File

@@ -8,6 +8,7 @@ int GetSymbolAuthority(const char* symbol)
if (strncmp(symbol, "TXSCL", 5) == 0)
return CROSSCHAIN_TXSCL;
if (is_STAKED() != 0)
printf("RETURNED CROSSCHAIN STAKED AS TRUE");
return CROSSCHAIN_STAKED;
return CROSSCHAIN_KOMODO;
}
@@ -53,7 +54,7 @@ bool CheckTxAuthority(const CTransaction &tx, CrosschainAuthority auth)
const CrosschainAuthority auth_STAKED = [&](){
CrosschainAuthority auth;
auth.requiredSigs = 4;
auth.requiredSigs = (num_notaries_STAKED / 5);
auth.size = num_notaries_STAKED;
for (int n=0; n<auth.size; n++)
for (size_t i=0; i<33; i++)