Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
steel97 committed Oct 18, 2024
1 parent e19d4b4 commit ce1b6e1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/commands/deriveaddress/da_ui_nbgl.c
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,9 @@ int ui_display_address(derive_address_ctx_t* ctx,
if (!send) {
pk_appid_addr[MAX_BIP32_PATH + offset] = '\n';
strncpy(*(&pk_appid_addr) + MAX_BIP32_PATH + offset + 1, "Address: ", 9);
strncpy(*(&pk_appid_addr) + MAX_BIP32_PATH + offset + 1 + 9, ctx->address, MEMBER_SIZE(derive_address_ctx_t, address));
strncpy(*(&pk_appid_addr) + MAX_BIP32_PATH + offset + 1 + 9,
ctx->address,
MEMBER_SIZE(derive_address_ctx_t, address));
}

if (send) {
Expand Down

0 comments on commit ce1b6e1

Please sign in to comment.