Skip to content

Commit a87484c

Browse files
committed
src/qt/rpcconsole.cpp:remove challengeToString
1 parent 357f7d4 commit a87484c

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

src/qt/rpcconsole.cpp

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -612,22 +612,6 @@ bool RPCConsole::eventFilter(QObject* obj, QEvent *event)
612612
return QWidget::eventFilter(obj, event);
613613
}
614614

615-
std::string RPCConsole::challengeToString(const std::vector<uint8_t>& v)
616-
{
617-
std::string result;
618-
result.reserve(v.size() * 2);
619-
620-
static constexpr char hex[] = "0123456789ABCDEF";
621-
622-
for (uint8_t c : v)
623-
{
624-
result.push_back(hex[c / 16]);
625-
result.push_back(hex[c % 16]);
626-
}
627-
628-
return result;
629-
}
630-
631615
void RPCConsole::setClientModel(ClientModel *model, int bestblock_height, int64_t bestblock_date, double verification_progress)
632616
{
633617
clientModel = model;

0 commit comments

Comments
 (0)