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

src/main.cpp: must do base58_strip after we have split into list. otherwise we will strip the delimiter ","

This commit is contained in:
Henrik Hautakoski 2020-01-15 12:58:43 +01:00
parent baba04991f
commit 58406e0c24

View file

@ -56,7 +56,10 @@ void cmd_search(int argc, char **argv) {
int n = 100;
n_thread_decl;
std::string search(argv[0]);
strlist_t words = strsplitwords(strtolower(base58_strip(search)));
strlist_t words = strsplitwords(strtolower(search));
// Strip words from non-base58.
base58_strip(words);
if (argc > 1) {
n = atoi(argv[1]);