diff --git a/src/btchip_apdu_hash_input_finalize_full.c b/src/btchip_apdu_hash_input_finalize_full.c index 56c798a8..27a3f412 100644 --- a/src/btchip_apdu_hash_input_finalize_full.c +++ b/src/btchip_apdu_hash_input_finalize_full.c @@ -313,10 +313,10 @@ unsigned short btchip_apdu_hash_input_finalize_full_internal( btchip_context_D.tmpCtx.output.changeInitialized = 1; btchip_context_D.tmpCtx.output.changeAccepted = 0; - // if the bip44 change path provided is not canonical or its index are unsual, ask for user approval + // if the bip44 change path provided is not canonical or its index are unusual, ask for user approval if(bip44_derivation_guard(transactionSummary->keyPath, true)) { if (btchip_context_D.called_from_swap) { - PRINTF("In swap mode only standart path is allowed\n"); + PRINTF("In swap mode only standard path is allowed\n"); sw = BTCHIP_SW_CONDITIONS_OF_USE_NOT_SATISFIED; goto discardTransaction; } diff --git a/src/handle_check_address.c b/src/handle_check_address.c index f921dffa..959c9aaa 100644 --- a/src/handle_check_address.c +++ b/src/handle_check_address.c @@ -98,7 +98,7 @@ void handle_check_address(check_address_parameters_t* params, btchip_altcoin_con unsigned char compressed_public_key[33]; PRINTF("Params on the address %d\n",(unsigned int)params); PRINTF("Address to check %s\n",params->address_to_check); - PRINTF("Insied handle_check_address\n"); + PRINTF("Inside handle_check_address\n"); params->result = 0; if (params->address_to_check == 0) { PRINTF("Address to check == 0\n"); @@ -126,9 +126,9 @@ void handle_check_address(check_address_parameters_t* params, btchip_altcoin_con } if ((strlen(address) != strlen(params->address_to_check)) || os_memcmp(address, params->address_to_check, strlen(address)) != 0) { - PRINTF("Addresses doesn't match\n"); + PRINTF("Addresses don't match\n"); return; } - PRINTF("Addresses match\n"); + PRINTF("Addresses match\n"); params->result = 1; } \ No newline at end of file diff --git a/src/main.c b/src/main.c index dfa732a2..cfc00687 100644 --- a/src/main.c +++ b/src/main.c @@ -2515,13 +2515,13 @@ uint8_t prepare_full_output(uint8_t checkOnly) { } if (btchip_context_D.tmpCtx.output.changeInitialized && !changeFound) { if (!checkOnly) { - PRINTF("Error : change output not found"); + PRINTF("Error : Change output not found"); } goto error; } if ((numberOutputs > 1) && (!changeFound || !specialOpFound)) { if (!checkOnly) { - PRINTF("Error : too many inputs"); + PRINTF("Error : Too many inputs"); } goto error; }