Add support for AtheiosChain (ATH)
EIP-155 is now properly working with Atheios!! Tested personally on the Ledger Nano S homepage : https://atheios.com block explorer : http://explorer.atheios.com | https://scan.atheios.com network statistics : http://stats.atheios.com slip0044 index : 1620 chainId : 1620
This commit is contained in:
committed by
GitHub
parent
4be5efcb3c
commit
70492fc781
@@ -1558,6 +1558,9 @@ tokenDefinition_t* getKnownToken() {
|
||||
case CHAIN_KIND_ETHERGEM:
|
||||
numTokens = NUM_TOKENS_ETHERGEM;
|
||||
break;
|
||||
case CHAIN_KIND_ATHEIOS:
|
||||
numTokens = NUM_TOKENS_ATHEIOS;
|
||||
break;
|
||||
}
|
||||
for (i=0; i<numTokens; i++) {
|
||||
switch(chainConfig->kind) {
|
||||
@@ -1609,6 +1612,9 @@ tokenDefinition_t* getKnownToken() {
|
||||
case CHAIN_KIND_ETHERGEM:
|
||||
currentToken = PIC(&TOKENS_ETHERGEM[i]);
|
||||
break;
|
||||
case CHAIN_KIND_ATHEIOS:
|
||||
currentToken = PIC(&TOKENS_ATHEIOS[i]);
|
||||
break;
|
||||
}
|
||||
if (os_memcmp(currentToken->address, tmpContent.txContent.destination, 20) == 0) {
|
||||
return currentToken;
|
||||
|
||||
Reference in New Issue
Block a user