tmp undoing change breaking swap retro-compatibility

This commit is contained in:
TamtamHero
2021-01-05 16:43:00 +01:00
parent 4629d6633c
commit 4df53f5f56
2 changed files with 6 additions and 5 deletions

View File

@@ -775,10 +775,11 @@ static void library_main_helper(struct libargs_s *args) {
}
break;
case GET_PRINTABLE_AMOUNT:
// ensure result is zero if an exception is thrown
args->get_printable_amount->result = 0;
args->get_printable_amount->result =
handle_get_printable_amount(args->get_printable_amount, args->chain_config);
// ensure result is zero if an exception is thrown (compatibility breaking, disabled
// until LL is ready)
// args->get_printable_amount->result = 0;
// args->get_printable_amount->result =
handle_get_printable_amount(args->get_printable_amount, args->chain_config);
break;
default:
break;

View File

@@ -36,7 +36,7 @@ typedef struct get_printable_amount_parameters_s {
bool is_fee;
// OUT
char printable_amount[30];
int result;
// int result;
} get_printable_amount_parameters_t;
typedef struct create_transaction_parameters_s {