mirror of https://github.com/oxen-io/oxen-core.git
compilation fix for mapping name_hash
error: 'const class nlohmann::basic_json<>' has no member named 'name_hash' 7199 | mapping.name_hash}; resolved this error by replacing mapping.name_hash with mapping["name_hash"]
This commit is contained in:
parent
9a2b161dd7
commit
baecf82a3b
|
@ -7196,7 +7196,7 @@ bool simple_wallet::ons_lookup(std::vector<std::string> args) {
|
|||
tools::wallet2::ons_detail detail = {
|
||||
static_cast<ons::mapping_type>(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++)
|
||||
|
|
Loading…
Reference in New Issue