From cb9cff5fdc1d13851b791923b91efe2aae561e88 Mon Sep 17 00:00:00 2001 From: Simon Date: Fri, 5 Oct 2018 21:15:08 -0700 Subject: [PATCH] Fix deadlock from calling CWallet::AddSaplingIncomingViewingKey instead of CBasicKeyStore::AddSaplingIncomingViewingKey --- src/keystore.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/keystore.cpp b/src/keystore.cpp index 54fb02590..e1e3ae89b 100644 --- a/src/keystore.cpp +++ b/src/keystore.cpp @@ -157,7 +157,7 @@ bool CBasicKeyStore::AddSaplingFullViewingKey( auto ivk = fvk.in_viewing_key(); mapSaplingFullViewingKeys[ivk] = fvk; - return AddSaplingIncomingViewingKey(ivk, defaultAddr); + return CBasicKeyStore::AddSaplingIncomingViewingKey(ivk, defaultAddr); } // This function updates the wallet's internal address->ivk map.