diff --git a/src/wallet/wallet2.cpp b/src/wallet/wallet2.cpp index 68f25de42..bee27e12a 100644 --- a/src/wallet/wallet2.cpp +++ b/src/wallet/wallet2.cpp @@ -2946,6 +2946,8 @@ void wallet2::get_short_chain_history(std::list& ids, uint64_t gra size_t sz = blockchain_size - m_blockchain.offset(); if(!sz) { + if(m_blockchain.size() > m_blockchain.offset()) + ids.push_back(m_blockchain[m_blockchain.offset()]); ids.push_back(m_blockchain.genesis()); return; }