Skip to content

Commit

Permalink
Allow GENERATED_PUBLIC_KEYS in api_read_data_block and bump APPVERSION_P
Browse files Browse the repository at this point in the history
  • Loading branch information
Thoralf-M committed Feb 7, 2024
1 parent a9597b6 commit 62f0693
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ include $(BOLOS_SDK)/Makefile.defines

APPVERSION_M = 0
APPVERSION_N = 8
APPVERSION_P = 6
APPVERSION_P = 7
APPVERSION = "$(APPVERSION_M).$(APPVERSION_N).$(APPVERSION_P)"

APP_LOAD_PARAMS = --path "44'/1'" --curve ed25519 --appFlags 0x240 $(COMMON_LOAD_PARAMS)
Expand Down
2 changes: 1 addition & 1 deletion src/api.c
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ uint32_t api_write_data_block(uint8_t block_number, const uint8_t *input_data,

uint32_t api_read_data_block(uint8_t block_number)
{
if (api.data.type != GENERATED_ADDRESSES && api.data.type != SIGNATURES) {
if (api.data.type != GENERATED_ADDRESSES && api.data.type != SIGNATURES && api.data.type != GENERATED_PUBLIC_KEYS) {
THROW(SW_COMMAND_NOT_ALLOWED);
}

Expand Down

0 comments on commit 62f0693

Please sign in to comment.