From a5020ddf8790773ee7fe4d6837591c48775bd6fb Mon Sep 17 00:00:00 2001
From: Dmitry Gerasimov <dmitriy.gerasimov@demlabs.net>
Date: Tue, 19 Jul 2022 18:08:23 +0700
Subject: [PATCH] [*] dap_chain_ledger_addr_get_token_ticker_all_fast() ->
 dap_chain_ledger_addr_get_token_ticker_all()

---
 modules/chain/dap_chain_ledger.c                    | 2 +-
 modules/chain/include/dap_chain_ledger.h            | 2 +-
 modules/net/dap_chain_node_cli_cmd.c                | 2 +-
 modules/service/xchange/dap_chain_net_srv_xchange.c | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/modules/chain/dap_chain_ledger.c b/modules/chain/dap_chain_ledger.c
index 93dfe6078f..15535c0477 100644
--- a/modules/chain/dap_chain_ledger.c
+++ b/modules/chain/dap_chain_ledger.c
@@ -1958,7 +1958,7 @@ void dap_chain_ledger_addr_get_token_ticker_all_depricated(dap_ledger_t *a_ledge
  * @param a_tickers
  * @param a_tickers_size
  */
-void dap_chain_ledger_addr_get_token_ticker_all_fast(dap_ledger_t *a_ledger, dap_chain_addr_t * a_addr,
+void dap_chain_ledger_addr_get_token_ticker_all(dap_ledger_t *a_ledger, dap_chain_addr_t * a_addr,
         char *** a_tickers, size_t * a_tickers_size)
 {
     if (a_addr == NULL){ // Get all tockens
diff --git a/modules/chain/include/dap_chain_ledger.h b/modules/chain/include/dap_chain_ledger.h
index 9ffe8c1795..faaa73d539 100644
--- a/modules/chain/include/dap_chain_ledger.h
+++ b/modules/chain/include/dap_chain_ledger.h
@@ -146,7 +146,7 @@ const char* dap_chain_ledger_tx_get_token_ticker_by_hash(dap_ledger_t *a_ledger,
 void dap_chain_ledger_addr_get_token_ticker_all_depricated(dap_ledger_t *a_ledger, dap_chain_addr_t * a_addr,
         char *** a_tickers, size_t * a_tickers_size);
 
-void dap_chain_ledger_addr_get_token_ticker_all_fast(dap_ledger_t *a_ledger, dap_chain_addr_t * a_addr,
+void dap_chain_ledger_addr_get_token_ticker_all(dap_ledger_t *a_ledger, dap_chain_addr_t * a_addr,
         char *** a_tickers, size_t * a_tickers_size);
 
 // Checking a new transaction before adding to the cache
diff --git a/modules/net/dap_chain_node_cli_cmd.c b/modules/net/dap_chain_node_cli_cmd.c
index dcf60f6e20..b7d0946537 100644
--- a/modules/net/dap_chain_node_cli_cmd.c
+++ b/modules/net/dap_chain_node_cli_cmd.c
@@ -1923,7 +1923,7 @@ int com_tx_wallet(int argc, char ** argv, char **str_reply)
 
             size_t l_l_addr_tokens_size = 0;
             char **l_l_addr_tokens = NULL;
-            dap_chain_ledger_addr_get_token_ticker_all_fast(l_ledger, l_addr, &l_l_addr_tokens, &l_l_addr_tokens_size);
+            dap_chain_ledger_addr_get_token_ticker_all(l_ledger, l_addr, &l_l_addr_tokens, &l_l_addr_tokens_size);
             if(l_l_addr_tokens_size > 0)
                 dap_string_append_printf(l_string_ret, "balance:\n");
             else
diff --git a/modules/service/xchange/dap_chain_net_srv_xchange.c b/modules/service/xchange/dap_chain_net_srv_xchange.c
index 564b19b881..e0acbcb831 100644
--- a/modules/service/xchange/dap_chain_net_srv_xchange.c
+++ b/modules/service/xchange/dap_chain_net_srv_xchange.c
@@ -1198,7 +1198,7 @@ static int s_cli_srv_xchange(int a_argc, char **a_argv, char **a_str_reply)
                     dap_string_t *l_reply_str = dap_string_new("");
                     char ** l_tickers = NULL;
                     size_t l_tickers_count = 0;
-                    dap_chain_ledger_addr_get_token_ticker_all_fast( l_net->pub.ledger,NULL,&l_tickers,&l_tickers_count);
+                    dap_chain_ledger_addr_get_token_ticker_all( l_net->pub.ledger,NULL,&l_tickers,&l_tickers_count);
 
                     size_t l_pairs_count = 0;
                     if(l_tickers){
-- 
GitLab