From a9f153212bcd67d01de5ec0ce26464c8de7ae44b Mon Sep 17 00:00:00 2001 From: Henrik Hautakoski Date: Wed, 26 Feb 2020 15:09:41 +0100 Subject: [PATCH] key_search.cpp: in addWord() do not apply base58_strip(). client code should validate it. --- src/key_search.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/key_search.cpp b/src/key_search.cpp index 48e0567..7c99a94 100644 --- a/src/key_search.cpp +++ b/src/key_search.cpp @@ -23,7 +23,6 @@ */ #include #include "crypto/ec.h" -#include "crypto/base58.h" #include "key_search_helpers.h" #include "key_search.h" @@ -32,7 +31,6 @@ namespace eoskeygen { void KeySearch::addWord(const std::string& str) { std::string tmp = str; - base58_strip(tmp); strtolower(tmp); m_words.push_back(tmp); }