who knows
This commit is contained in:
@@ -8,10 +8,10 @@ int GetSymbolAuthority(const char* symbol)
|
|||||||
if (strncmp(symbol, "TXSCL", 5) == 0)
|
if (strncmp(symbol, "TXSCL", 5) == 0)
|
||||||
return CROSSCHAIN_TXSCL;
|
return CROSSCHAIN_TXSCL;
|
||||||
if (is_STAKED(symbol) != 0) {
|
if (is_STAKED(symbol) != 0) {
|
||||||
printf("RETURNED CROSSCHAIN STAKED AS TRUE\n");
|
//printf("RETURNED CROSSCHAIN STAKED AS TRUE\n");
|
||||||
return CROSSCHAIN_STAKED;
|
return CROSSCHAIN_STAKED;
|
||||||
}
|
}
|
||||||
printf("RETURNED CROSSCHAIN KOMODO AS TRUE\n");
|
//printf("RETURNED CROSSCHAIN KOMODO AS TRUE\n");
|
||||||
return CROSSCHAIN_KOMODO;
|
return CROSSCHAIN_KOMODO;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -305,7 +305,7 @@ int32_t komodo_notaries(uint8_t pubkeys[64][33],int32_t height,uint32_t timestam
|
|||||||
return(ns4);
|
return(ns4);
|
||||||
} else if (staked_era == 0)
|
} else if (staked_era == 0)
|
||||||
{
|
{
|
||||||
// this means we are in a gap, so we set the array of pubkeys to zero, this does't seem to correctly work, so added exeption to komodo.h aswell.
|
// this means we are in a gap, so we set the array of pubkeys to zero, this does't seem to correctly work, so added exeption to komodo.h aswell, fix here welcome.
|
||||||
for (i=0; i<1; i++)
|
for (i=0; i<1; i++)
|
||||||
decode_hex(null_pubkeys[i],33,(char *)notaries_STAKED1[i][1]);
|
decode_hex(null_pubkeys[i],33,(char *)notaries_STAKED1[i][1]);
|
||||||
printf("%s IS A STAKED CHAIN and is in an ERA GAP, so we zeroed the pubkeys.\n",ASSETCHAINS_SYMBOL);
|
printf("%s IS A STAKED CHAIN and is in an ERA GAP, so we zeroed the pubkeys.\n",ASSETCHAINS_SYMBOL);
|
||||||
|
|||||||
@@ -6,10 +6,10 @@
|
|||||||
|
|
||||||
static const int STAKED_ERA_GAP = 777;
|
static const int STAKED_ERA_GAP = 777;
|
||||||
|
|
||||||
static const int STAKED_NOTARIES_TIMESTAMP1 = 1537859688;
|
static const int STAKED_NOTARIES_TIMESTAMP1 = 1537868073;
|
||||||
static const int STAKED_NOTARIES_TIMESTAMP2 = 1537863288;
|
static const int STAKED_NOTARIES_TIMESTAMP2 = 1537871673;
|
||||||
static const int STAKED_NOTARIES_TIMESTAMP3 = 1537866888;
|
static const int STAKED_NOTARIES_TIMESTAMP3 = 1537875273;
|
||||||
static const int STAKED_NOTARIES_TIMESTAMP4 = 1537870488;
|
static const int STAKED_NOTARIES_TIMESTAMP4 = 1537878873;
|
||||||
|
|
||||||
extern const char *notaries_STAKED1[][2];
|
extern const char *notaries_STAKED1[][2];
|
||||||
extern int num_notaries_STAKED1;
|
extern int num_notaries_STAKED1;
|
||||||
|
|||||||
Reference in New Issue
Block a user