From 41d4e175aa3a7a7b13c1586974c5185f4dab9f38 Mon Sep 17 00:00:00 2001 From: Jeremy Rand Date: Thu, 30 Dec 2021 02:38:54 +0000 Subject: [PATCH] name_update nameEncoding typo fix --- src/qt/nametablemodel.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/qt/nametablemodel.cpp b/src/qt/nametablemodel.cpp index 9699d72606..67616205ef 100644 --- a/src/qt/nametablemodel.cpp +++ b/src/qt/nametablemodel.cpp @@ -513,8 +513,8 @@ QString NameTableModel::update(const QString &name, const std::optional 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);