Skip to content

Commit

Permalink
name_update nameEncoding typo fix
Browse files Browse the repository at this point in the history
  • Loading branch information
JeremyRand committed Dec 30, 2021
1 parent 539166c commit 41d4e17
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/qt/nametablemodel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -513,8 +513,8 @@ QString NameTableModel::update(const QString &name, const std::optional<QString>

UniValue params(UniValue::VOBJ);

valtype vtName = valtype (strName.begin (), strName.end ())
std::string hexName = EncodeName (vtName, NameEncoding::Hex);
valtype vtName = valtype (strName.begin (), strName.end ());
std::string hexName = EncodeName (vtName, NameEncoding::HEX);
params.pushKV ("name", hexName);

UniValue options(UniValue::VOBJ);
Expand Down

0 comments on commit 41d4e17

Please sign in to comment.