Add support for Pirl

This commit is contained in:
Michael Ira Krufky
2018-07-27 20:30:43 -04:00
parent 74c085ca2d
commit 2c8f11f1f0
9 changed files with 15 additions and 0 deletions

View File

@@ -1265,6 +1265,9 @@ void handleSign(uint8_t p1, uint8_t p2, uint8_t *workBuffer, uint16_t dataLength
case CHAIN_KIND_ETHEREUM_CLASSIC:
numTokens = NUM_TOKENS_ETHEREUM_CLASSIC;
break;
case CHAIN_KIND_PIRL:
numTokens = NUM_TOKENS_PIRL;
break;
case CHAIN_KIND_POA:
numTokens = NUM_TOKENS_POA;
break;
@@ -1293,6 +1296,9 @@ void handleSign(uint8_t p1, uint8_t p2, uint8_t *workBuffer, uint16_t dataLength
case CHAIN_KIND_ETHEREUM_CLASSIC:
currentToken = PIC(&TOKENS_ETHEREUM_CLASSIC[i]);
break;
case CHAIN_KIND_PIRL:
currentToken = PIC(&TOKENS_PIRL[i]);
break;
case CHAIN_KIND_POA:
currentToken = PIC(&TOKENS_POA[i]);
break;