From 70a46fd7dc1cc7631563a8b1ebe658798ca72763 Mon Sep 17 00:00:00 2001 From: Joseph Spadavecchia Date: Wed, 13 Jan 2021 23:24:42 +0000 Subject: [PATCH] Implemented LeastAuthority suggestion and prepared for pre-release * Fixed more indentation (suggestion 1) * Updated release filename format * Fix to documentation * Update to processing screen --- Makefile | 8 ++++---- README.md | 2 +- prepare-devenv.sh | 0 src/get_address.c | 2 +- src/get_address.h | 4 ++-- 5 files changed, 8 insertions(+), 8 deletions(-) mode change 100755 => 100644 prepare-devenv.sh diff --git a/Makefile b/Makefile index ad9c752..c8e8868 100644 --- a/Makefile +++ b/Makefile @@ -151,7 +151,7 @@ delete: python -m ledgerblue.deleteApp $(COMMON_DELETE_PARAMS) release: all - @echo "Packaging release... mina-ledger-app-$(VERSION_TAG).tar.gz" + @echo "Packaging release... ledger-app-mina-$(VERSION_TAG).tar.gz" @echo "Contents" > README @echo " ./install.sh - Load Mina app onto Ledger device" >> README @echo " ./uninstall.sh - Delete Mina app from Ledger device" >> README @@ -167,9 +167,9 @@ release: all @chmod +x install.sh uninstall.sh @cp utils/mina_ledger_wallet.py mina_ledger_wallet @sed -i 's/__version__ = "1.0.0"/__version__ = "$(VERSION_TAG)"/' mina_ledger_wallet - @tar -zcf mina-ledger-app-$(VERSION_TAG).tar.gz \ - --transform "s,^,mina-ledger-app-$(VERSION_TAG)/," \ - README \ + @tar -zcf ledger-app-mina-$(VERSION_TAG).tar.gz \ + --transform "s,^,ledger-app-mina-$(VERSION_TAG)/," \ + README \ install.sh \ uninstall.sh \ mina_ledger_wallet \ diff --git a/README.md b/README.md index af38d14..ffc0845 100644 --- a/README.md +++ b/README.md @@ -97,7 +97,7 @@ Continue? (y/N) y Generating address (please confirm on Ledger device)... done Received address: B62qpaDc8nfu4a7xghkEni8u2rBjx7EH95MFeZAhTgGofopaxFjdS7P ``` -This generates the keypair corresponding to hardware wallet account 1 (BIP44 account 44'/12586'/1/0/0) and returns the corresponding Mina address. +This generates the keypair corresponding to hardware wallet account 1 (BIP44 account 44'/12586'/1'/0'/0') and returns the corresponding Mina address. **Get balance** diff --git a/prepare-devenv.sh b/prepare-devenv.sh old mode 100755 new mode 100644 diff --git a/src/get_address.c b/src/get_address.c index e7e3609..920ef01 100644 --- a/src/get_address.c +++ b/src/get_address.c @@ -117,7 +117,7 @@ UX_STEP_TIMEOUT( ux_display_public_flow, { &C_icon_processing, - "Processing", + "Processing...", }); UX_FLOW(ux_processing_flow, diff --git a/src/get_address.h b/src/get_address.h index f0a233b..43d8fbb 100644 --- a/src/get_address.h +++ b/src/get_address.h @@ -3,5 +3,5 @@ #include "globals.h" void handle_get_address(uint8_t p1, uint8_t p2, uint8_t *dataBuffer, - uint32_t dataLength, volatile unsigned int *flags, - volatile unsigned int *tx); + uint32_t dataLength, volatile unsigned int *flags, + volatile unsigned int *tx);