Change apdu payload length to proper size (8 bits)

This commit is contained in:
Alexandre Paillier
2022-07-19 11:42:25 +02:00
parent cd36a5fe9c
commit 895c37e1fa
17 changed files with 37 additions and 36 deletions

View File

@@ -7,8 +7,8 @@
void handleProvideErc20TokenInformation(uint8_t p1,
uint8_t p2,
uint8_t *workBuffer,
uint16_t dataLength,
const uint8_t *workBuffer,
uint8_t dataLength,
unsigned int *flags,
unsigned int *tx) {
UNUSED(p1);
@@ -102,12 +102,13 @@ void handleProvideErc20TokenInformation(uint8_t p1,
void handleProvideErc20TokenInformation(uint8_t p1,
uint8_t p2,
const uint8_t *workBuffer,
uint16_t dataLength,
uint8_t dataLength,
unsigned int *flags,
__attribute__((unused)) unsigned int *tx) {
unsigned int *tx) {
UNUSED(p1);
UNUSED(p2);
UNUSED(flags);
UNUSED(tx);
uint32_t offset = 0;
uint8_t tickerLength;
uint32_t chainId;