From 58406e0c246f4ac9abc378fd9838bd78b1c34dc0 Mon Sep 17 00:00:00 2001 From: Henrik Hautakoski Date: Wed, 15 Jan 2020 12:58:43 +0100 Subject: [PATCH] src/main.cpp: must do base58_strip after we have split into list. otherwise we will strip the delimiter "," --- src/main.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/main.cpp b/src/main.cpp index ffa54da..e5fcd02 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -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]);