Skip to content

Commit

Permalink
name_update valueEncoding typo fix
Browse files Browse the repository at this point in the history
  • Loading branch information
JeremyRand committed Dec 30, 2021
1 parent 41d4e17 commit 3245b2e
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 @@ -523,8 +523,8 @@ QString NameTableModel::update(const QString &name, const std::optional<QString>
if (value)
{
std::string strValue = value.value().toStdString();
valtype vtValue = valtype (strValue.begin (), strValue.end ())
std::string hexValue = EncodeName (vtValue, NameEncoding::Hex);
valtype vtValue = valtype (strValue.begin (), strValue.end ());
std::string hexValue = EncodeName (vtValue, NameEncoding::HEX);

params.pushKV ("value", hexValue);
options.pushKV ("valueEncoding", "hex");
Expand Down

0 comments on commit 3245b2e

Please sign in to comment.