Add Tobalaba network
This commit is contained in:
@@ -1849,6 +1849,9 @@ tokenDefinition_t* getKnownToken() {
|
||||
case CHAIN_KIND_TOMOCHAIN:
|
||||
numTokens = NUM_TOKENS_TOMOCHAIN;
|
||||
break;
|
||||
case CHAIN_KIND_TOBALABA:
|
||||
numTokens = NUM_TOKENS_TOBALABA;
|
||||
break;
|
||||
}
|
||||
for (i=0; i<numTokens; i++) {
|
||||
switch(chainConfig->kind) {
|
||||
@@ -1918,6 +1921,9 @@ tokenDefinition_t* getKnownToken() {
|
||||
case CHAIN_KIND_TOMOCHAIN:
|
||||
currentToken = (tokenDefinition_t *)PIC(&TOKENS_TOMOCHAIN[i]);
|
||||
break;
|
||||
case CHAIN_KIND_TOBALABA:
|
||||
currentToken = (tokenDefinition_t *)PIC(&TOKENS_TOBALABA[i]);
|
||||
break;
|
||||
}
|
||||
if (os_memcmp(currentToken->address, tmpContent.txContent.destination, 20) == 0) {
|
||||
return currentToken;
|
||||
|
||||
Reference in New Issue
Block a user