1
0
Fork 0
mirror of https://github.com/eosswedenorg/antelope-keygen synced 2026-06-18 04:00:03 +02:00

key_search.cpp: in addWord() do not apply base58_strip(). client code should validate it.

This commit is contained in:
Henrik Hautakoski 2020-02-26 15:09:41 +01:00
parent 64f9026f96
commit a9f153212b

View file

@ -23,7 +23,6 @@
*/
#include <string>
#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);
}