Add support for Mix Blockchain

homepage: https://www.mix-blockchain.org
block explorer: https://blocks.mix-blockchain.org
network statistics : https://stats.mix-blockchain.org
slip0044 index : 76
chain ID: 76
This commit is contained in:
Michael Ira Krufky
2018-10-07 10:14:12 -04:00
committed by GitHub
parent 6ce175041a
commit 843b5ff80c
9 changed files with 18 additions and 3 deletions

View File

@@ -1517,6 +1517,9 @@ tokenDefinition_t* getKnownToken() {
case CHAIN_KIND_EOSCLASSIC:
numTokens = NUM_TOKENS_EOSCLASSIC;
break;
case CHAIN_KIND_MIX:
numTokens = NUM_TOKENS_MIX;
break;
}
for (i=0; i<numTokens; i++) {
switch(chainConfig->kind) {
@@ -1577,6 +1580,9 @@ tokenDefinition_t* getKnownToken() {
case CHAIN_KIND_EOSCLASSIC:
currentToken = PIC(&TOKENS_EOSCLASSIC[i]);
break;
case CHAIN_KIND_MIX:
currentToken = PIC(&TOKENS_MIX[i]);
break;
}
if (os_memcmp(currentToken->address, tmpContent.txContent.destination, 20) == 0) {
return currentToken;