diff --git a/src/simplewallet/simplewallet.cpp b/src/simplewallet/simplewallet.cpp index 71c8d7c0e..de2cfb849 100644 --- a/src/simplewallet/simplewallet.cpp +++ b/src/simplewallet/simplewallet.cpp @@ -7196,7 +7196,7 @@ bool simple_wallet::ons_lookup(std::vector args) { tools::wallet2::ons_detail detail = { static_cast(mapping["type"]), name, - mapping.name_hash}; + mapping["name_hash"]}; m_wallet->set_ons_cache_record(detail); } for (size_t i = last_index + 1; i < args.size(); i++)