add a print for isstaked
This commit is contained in:
@@ -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++)
|
||||
|
||||
Reference in New Issue
Block a user