Add support for Musicoin
This commit is contained in:
@@ -1290,6 +1290,9 @@ void handleSign(uint8_t p1, uint8_t p2, uint8_t *workBuffer, uint16_t dataLength
|
||||
case CHAIN_KIND_KUSD:
|
||||
numTokens = NUM_TOKENS_KUSD;
|
||||
break;
|
||||
case CHAIN_KIND_MUSICOIN:
|
||||
numTokens = NUM_TOKENS_MUSICOIN;
|
||||
break;
|
||||
}
|
||||
for (i=0; i<numTokens; i++) {
|
||||
tokenDefinition_t *currentToken = NULL;
|
||||
@@ -1324,6 +1327,9 @@ void handleSign(uint8_t p1, uint8_t p2, uint8_t *workBuffer, uint16_t dataLength
|
||||
case CHAIN_KIND_KUSD:
|
||||
currentToken = PIC(&TOKENS_KUSD[i]);
|
||||
break;
|
||||
case CHAIN_KIND_MUSICOIN:
|
||||
currentToken = PIC(&TOKENS_MUSICOIN[i]);
|
||||
break;
|
||||
}
|
||||
if (os_memcmp(currentToken->address, tmpContent.txContent.destination, 20) == 0) {
|
||||
dataPresent = false;
|
||||
|
||||
Reference in New Issue
Block a user