From fa01186c57baa60f5ca68805ea9bb1c96f93d903 Mon Sep 17 00:00:00 2001
From: "alexey.stratulat" <alexey.stratulat@demlabs.net>
Date: Fri, 26 Jul 2024 08:39:44 +0000
Subject: [PATCH] Bugfix 12459_2

---
 modules/net/dap_chain_node_cli_cmd.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/modules/net/dap_chain_node_cli_cmd.c b/modules/net/dap_chain_node_cli_cmd.c
index b1746b4ea6..0e4f3937b6 100644
--- a/modules/net/dap_chain_node_cli_cmd.c
+++ b/modules/net/dap_chain_node_cli_cmd.c
@@ -1944,6 +1944,9 @@ int l_arg_index = 1, l_rc, cmd_num = CMD_NONE;
                     dap_string_free(l_str_signs, true);
                 }
                 json_object_object_add(json_obj_wall, "signs", l_jobj_sings);
+            } else {
+                json_object_object_add(json_obj_wall, "signs",
+                                       json_object_new_string(dap_sign_type_to_str(l_addr->sig_type)));
             }
             if(l_l_addr_tokens_size <= 0)
                 json_object_object_add(json_obj_wall, "balance", json_object_new_string("0"));
-- 
GitLab