From e302c34f7e55c9b9a6ef9dd2321673a9843c1273 Mon Sep 17 00:00:00 2001 From: cryptozoidberg Date: Thu, 3 Jun 2021 15:42:57 +0300 Subject: [PATCH] fixed access to secon and first --- src/wallet/wallet_chain_shortener.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wallet/wallet_chain_shortener.cpp b/src/wallet/wallet_chain_shortener.cpp index 8633c40d..e353c1a6 100644 --- a/src/wallet/wallet_chain_shortener.cpp +++ b/src/wallet/wallet_chain_shortener.cpp @@ -280,7 +280,7 @@ std::string wallet_chain_shortener::get_internal_state_text() const #define PRINT_CHAIN_SHORTENER_STATE_INFO(cont_name) \ if (cont_name.size()) \ { \ - ss << #cont_name << ".size(): [" << cont_name.begin().first << ": " << cont_name.begin().second << "]" << ENDL; \ + ss << #cont_name << ".size(): [" << cont_name.begin()->first << ": " << cont_name.begin()->second << "]" << ENDL; \ } PRINT_CHAIN_SHORTENER_STATE_INFO(m_last_20_blocks);