forked from pontem-network/ledger-app-aptos
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d1e2b8b
commit 87862bf
Showing
6 changed files
with
52 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,3 +24,5 @@ | |
* | ||
*/ | ||
int handler_get_public_key(buffer_t *cdata, bool display); | ||
|
||
int get_public_key(buffer_t *cdata); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
#ifdef HAVE_SWAP | ||
|
||
#include <string.h> // memset, explicit_bzero | ||
#include "handle_swap_sign_transaction.h" | ||
#include "swap.h" | ||
#include "os.h" | ||
#include "constants.h" | ||
|
||
/* Set empty printable_amount on error, printable amount otherwise */ | ||
void swap_handle_get_printable_amount(get_printable_amount_parameters_t* params) { | ||
PRINTF("TODO: swap_handle_get_printable_amount\n"); | ||
} | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
#ifdef HAVE_SWAP | ||
|
||
#include "handle_swap_sign_transaction.h" | ||
#include "display.h" | ||
#include "swap.h" | ||
#include "string.h" | ||
#include "os_lib.h" | ||
#include "constants.h" | ||
#include "os_utils.h" | ||
#include "globals.h" | ||
|
||
bool swap_copy_transaction_parameters(create_transaction_parameters_t* params) { | ||
PRINTF("TODO: swap_copy_transaction_parameters\n"); | ||
Check failure Code scanning / CodeQL Missing return statement Error
Function swap_copy_transaction_parameters should return a value of type bool but does not return a value here
|
||
} | ||
|
||
void __attribute__((noreturn)) swap_finalize_exchange_sign_transaction(bool is_success) { | ||
PRINTF("TODO: swap_finalize_exchange_sign_transaction\n"); | ||
} | ||
|
||
#endif |
Empty file.