1
0
Fork 0
forked from lthn/blockchain

fixed access to secon and first

This commit is contained in:
cryptozoidberg 2021-06-03 15:42:57 +03:00
parent a3dcb32834
commit e302c34f7e
No known key found for this signature in database
GPG key ID: 22DEB97A54C6FDEC

View file

@ -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);