Add support for Callisto

This commit is contained in:
Michael Ira Krufky
2018-07-30 18:12:20 -04:00
parent e8d0f63664
commit 486e4b5ed2
9 changed files with 16 additions and 1 deletions

View File

@@ -1293,6 +1293,9 @@ void handleSign(uint8_t p1, uint8_t p2, uint8_t *workBuffer, uint16_t dataLength
case CHAIN_KIND_MUSICOIN:
numTokens = NUM_TOKENS_MUSICOIN;
break;
case CHAIN_KIND_CALLISTO:
numTokens = NUM_TOKENS_CALLISTO;
break;
}
for (i=0; i<numTokens; i++) {
tokenDefinition_t *currentToken = NULL;
@@ -1330,6 +1333,9 @@ void handleSign(uint8_t p1, uint8_t p2, uint8_t *workBuffer, uint16_t dataLength
case CHAIN_KIND_MUSICOIN:
currentToken = PIC(&TOKENS_MUSICOIN[i]);
break;
case CHAIN_KIND_CALLISTO:
currentToken = PIC(&TOKENS_CALLISTO[i]);
break;
}
if (os_memcmp(currentToken->address, tmpContent.txContent.destination, 20) == 0) {
dataPresent = false;