From a457035b9856996ef25e3f69c8a9fec4df26ae14 Mon Sep 17 00:00:00 2001
From: "alexey.stratulat" <alexey.stratulat@demlabs.net>
Date: Thu, 21 Mar 2024 19:18:45 +0000
Subject: [PATCH] Feature 10910

---
 dap-sdk                                             | 2 +-
 modules/net/dap_chain_ledger.c                      | 2 +-
 modules/service/xchange/dap_chain_net_srv_xchange.c | 4 ++--
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/dap-sdk b/dap-sdk
index cbf935a2cf..20315e499c 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 998163c680..3a6bc21aea 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 91ee1b33f9..31e49902ec 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"
 
-- 
GitLab