From 7a76354c8bcbe85f6553914241da5ac1bb932b37 Mon Sep 17 00:00:00 2001 From: naughtyfox Date: Mon, 10 Sep 2018 18:45:37 +0300 Subject: [PATCH] wallet2: import_multisig forward refresh exception --- src/wallet/wallet2.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/wallet/wallet2.cpp b/src/wallet/wallet2.cpp index a2e36706e..f6dfd3b45 100644 --- a/src/wallet/wallet2.cpp +++ b/src/wallet/wallet2.cpp @@ -10878,7 +10878,12 @@ size_t wallet2::import_multisig(std::vector blobs) refresh(false); } - catch (...) {} + catch (...) + { + m_multisig_rescan_info = NULL; + m_multisig_rescan_k = NULL; + throw; + } m_multisig_rescan_info = NULL; m_multisig_rescan_k = NULL;