diff --git a/dap-sdk b/dap-sdk index cbf935a2cf70f2a6cf72e2c23c8d116126cb2aad..20315e499c2e61e8870e411fcc5fa64facd3c978 160000 --- a/dap-sdk +++ b/dap-sdk @@ -1 +1 @@ -Subproject commit cbf935a2cf70f2a6cf72e2c23c8d116126cb2aad +Subproject commit 20315e499c2e61e8870e411fcc5fa64facd3c978 diff --git a/modules/net/dap_chain_ledger.c b/modules/net/dap_chain_ledger.c index 998163c680706927ab95c63f8aedacb283292935..3a6bc21aea1360f0db8b1679ef4a3a7edd153104 100644 --- a/modules/net/dap_chain_ledger.c +++ b/modules/net/dap_chain_ledger.c @@ -3308,7 +3308,7 @@ dap_hash_fast_t* dap_ledger_get_first_chain_tx_hash(dap_ledger_t *a_ledger, dap_ if(l_prev_tx && !dap_hash_fast_is_blank(&l_hash)){ l_ret_hash = DAP_NEW_SIZE(dap_hash_fast_t, sizeof(dap_hash_fast_t)); *l_ret_hash = l_hash; - } + } return l_ret_hash; } diff --git a/modules/service/xchange/dap_chain_net_srv_xchange.c b/modules/service/xchange/dap_chain_net_srv_xchange.c index 91ee1b33f98e12f97164f5cf3d04dbbef1412d2d..31e49902ec51641248250761407343044bb3b44d 100644 --- a/modules/service/xchange/dap_chain_net_srv_xchange.c +++ b/modules/service/xchange/dap_chain_net_srv_xchange.c @@ -115,11 +115,11 @@ int dap_chain_net_srv_xchange_init() "\tList of exchange transactions\n" "\tAll times are in RFC822. For example: \"Thu, 7 Dec 2023 21:18:04\"\n" - "srv_xchange token_pair -net <net_name> list all\n" + "srv_xchange token_pair -net <net_name> list all [-limit <limit>] [-offset <offset>]\n" "\tList of all token pairs\n" "srv_xchange token_pair -net <net_name> rate average -token_from <token_ticker> -token_to <token_ticker>\n" "\tGet average rate for token pair <token from>:<token to> from <From time> to <To time> \n" - "srv_xchange token_pair -net <net_name> rate history -token_from <token_ticker> -token_to <token_ticker> [-time_from <From_time>] [-time_to <To_time>] \n" + "srv_xchange token_pair -net <net_name> rate history -token_from <token_ticker> -token_to <token_ticker> [-time_from <From_time>] [-time_to <To_time>] [-limit <limit>] [-offset <offset>]\n" "\tPrint rate history for token pair <token from>:<token to> from <From time> to <To time>\n" "\tAll times are in RFC822. For example: \"Thu, 7 Dec 2023 21:18:04\"\n"