Fix last compilation warnings
Signed-off-by: pscott <scott.piriou@ledger.fr>
This commit is contained in:
committed by
pscott
parent
46d5b45e9c
commit
c27d59d792
@@ -13,6 +13,11 @@ typedef enum {
|
||||
|
||||
} plugin_ui_state_t;
|
||||
|
||||
#ifdef TARGET_NANOS
|
||||
// This function is not exported by the SDK
|
||||
void ux_layout_paging_redisplay_by_addr(unsigned int stack_slot);
|
||||
#endif
|
||||
|
||||
void computeFees(char *displayBuffer, uint32_t displayBufferSize);
|
||||
|
||||
void plugin_ui_get_id() {
|
||||
|
||||
@@ -59,7 +59,7 @@ int handle_check_address(check_address_parameters_t* params, chain_config_t* cha
|
||||
cx_ecfp_generate_pair(CX_CURVE_256K1, &locals_union2.publicKey, &locals_union1.privateKey, 1);
|
||||
ZERO(locals_union1);
|
||||
getEthAddressStringFromKey(&locals_union2.publicKey,
|
||||
(uint8_t*) locals_union1.address,
|
||||
locals_union1.address,
|
||||
&local_sha3,
|
||||
chain_config);
|
||||
ZERO(locals_union2);
|
||||
|
||||
@@ -79,7 +79,7 @@ typedef struct tokenContext_t {
|
||||
|
||||
typedef struct publicKeyContext_t {
|
||||
cx_ecfp_public_key_t publicKey;
|
||||
uint8_t address[41];
|
||||
char address[41];
|
||||
uint8_t chainCode[INT256_LENGTH];
|
||||
bool getChaincode;
|
||||
} publicKeyContext_t;
|
||||
|
||||
Reference in New Issue
Block a user