tmp undoing change breaking swap retro-compatibility
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user