ESN(Ethersocial Network) support added

This commit is contained in:
hackyminer
2018-07-30 09:43:11 +09:00
parent 2fe57f1811
commit 79348a2d91
9 changed files with 17 additions and 2 deletions

View File

@@ -1269,6 +1269,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_ETHERSOCIAL:
numTokens = NUM_TOKENS_ETHERSOCIAL;
break;
case CHAIN_KIND_PIRL:
numTokens = NUM_TOKENS_PIRL;
break;
@@ -1309,6 +1312,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_ETHERSOCIAL:
currentToken = PIC(&TOKENS_ETHERSOCIAL[i]);
break;
case CHAIN_KIND_PIRL:
currentToken = PIC(&TOKENS_PIRL[i]);
break;