Merge branch 'esn-support' of https://github.com/EthersocialNetwork/blue-app-eth into EthersocialNetwork-esn-support

This commit is contained in:
BTChip github
2018-08-02 10:19:36 +02:00
9 changed files with 17 additions and 2 deletions

View File

@@ -1534,6 +1534,9 @@ tokenDefinition_t* getKnownToken() {
case CHAIN_KIND_CALLISTO:
numTokens = NUM_TOKENS_CALLISTO;
break;
case CHAIN_KIND_ETHERSOCIAL:
numTokens = NUM_TOKENS_ETHERSOCIAL;
break;
}
for (i=0; i<numTokens; i++) {
switch(chainConfig->kind) {
@@ -1573,6 +1576,9 @@ tokenDefinition_t* getKnownToken() {
case CHAIN_KIND_CALLISTO:
currentToken = PIC(&TOKENS_CALLISTO[i]);
break;
case CHAIN_KIND_ETHERSOCIAL:
currentToken = PIC(&TOKENS_ETHERSOCIAL[i]);
break;
}
if (os_memcmp(currentToken->address, tmpContent.txContent.destination, 20) == 0) {
return currentToken;