mirror of
https://github.com/eosswedenorg/antelope-keygen
synced 2026-07-02 11:43:40 +02:00
key_search.cpp: in addWord() do not apply base58_strip(). client code should validate it.
This commit is contained in:
parent
64f9026f96
commit
a9f153212b
1 changed files with 0 additions and 2 deletions
|
|
@ -23,7 +23,6 @@
|
||||||
*/
|
*/
|
||||||
#include <string>
|
#include <string>
|
||||||
#include "crypto/ec.h"
|
#include "crypto/ec.h"
|
||||||
#include "crypto/base58.h"
|
|
||||||
#include "key_search_helpers.h"
|
#include "key_search_helpers.h"
|
||||||
#include "key_search.h"
|
#include "key_search.h"
|
||||||
|
|
||||||
|
|
@ -32,7 +31,6 @@ namespace eoskeygen {
|
||||||
void KeySearch::addWord(const std::string& str)
|
void KeySearch::addWord(const std::string& str)
|
||||||
{
|
{
|
||||||
std::string tmp = str;
|
std::string tmp = str;
|
||||||
base58_strip(tmp);
|
|
||||||
strtolower(tmp);
|
strtolower(tmp);
|
||||||
m_words.push_back(tmp);
|
m_words.push_back(tmp);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue