diff --git a/dap_chain_net.c b/dap_chain_net.c index bcfb68cf33afcab1df8d055eef4f6b795430c2fc..c7b4d27b6a66e82e4b965a78c0afd54027d7a827 100755 --- a/dap_chain_net.c +++ b/dap_chain_net.c @@ -405,6 +405,7 @@ lb_proc_state: dap_chain_net_get_cur_addr(l_net), sizeof (dap_chain_node_addr_t) ); } + PVT(l_net)->state = NET_STATE_SYNC_GDB; }break; case NODE_ROLE_CELL_MASTER: case NODE_ROLE_MASTER:{ diff --git a/dap_chain_node_cli_cmd.c b/dap_chain_node_cli_cmd.c index 41d5018ee9683b350ef9d46803a8dd5f3f2b5a0e..2d6b43577ba248f7f7328e71c2301962bfe90dfc 100644 --- a/dap_chain_node_cli_cmd.c +++ b/dap_chain_node_cli_cmd.c @@ -969,7 +969,7 @@ int com_node(int a_argc, char ** a_argv, char **a_str_reply) return -1; } // wait connected - int timeout_ms = 5000; //5 sec = 5000 ms + int timeout_ms = 7000; //5 sec = 5000 ms res = dap_chain_node_client_wait(l_node_client, NODE_CLIENT_STATE_CONNECTED, timeout_ms); // select new node addr if(l_is_auto && res){