From 38e863e07e32be5bf27f80a3741556248d919629 Mon Sep 17 00:00:00 2001 From: Lee Clagett Date: Thu, 8 Oct 2020 00:54:19 -0400 Subject: [PATCH] Skip failed key derivations instead of shutdown --- src/scanner.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scanner.cpp b/src/scanner.cpp index 37c197b..d97fca0 100644 --- a/src/scanner.cpp +++ b/src/scanner.cpp @@ -195,7 +195,7 @@ namespace lws crypto::key_derivation derived; if (!crypto::wallet::generate_key_derivation(key.pub_key, user.view_key(), derived)) - throw std::runtime_error{"Key derivation failed"}; + continue; // to next user db::extra ext{}; std::uint32_t mixin = 0;