diff --git a/src/wallet/wallet2.cpp b/src/wallet/wallet2.cpp index 67a4f7aad..aa6c6eb1f 100755 --- a/src/wallet/wallet2.cpp +++ b/src/wallet/wallet2.cpp @@ -9731,11 +9731,10 @@ uint64_t wallet2::import_key_images(const std::vector(); // spent txid is unknown, so hypothetically set to random + pd.m_block_height = 0; // spent block height is unknown + const crypto::hash &spent_txid = crypto::null_hash; // spent txid is unknown m_confirmed_txs.insert(std::make_pair(spent_txid, pd)); } }