Merge Starkware branch

This commit is contained in:
BTChip github
2020-06-27 13:24:04 +02:00
parent 20e9f46c3c
commit 8d0544bf68
57 changed files with 4439 additions and 2243 deletions

View File

@@ -201,8 +201,8 @@ void getEthAddressStringFromBinary(uint8_t *address, uint8_t *out,
break;
}
if (eip1191) {
snprintf(tmp, sizeof(tmp), "%d0x", chainConfig->chainId);
offset = strlen(tmp);
snprintf((char*)tmp, sizeof(tmp), "%d0x", chainConfig->chainId);
offset = strlen((char*)tmp);
}
for (i = 0; i < 20; i++) {
uint8_t digit = address[i];