From a28c38c946af5eae7bcd4c07c4679d7fc0c1a168 Mon Sep 17 00:00:00 2001 From: selsta Date: Tue, 21 May 2024 19:20:45 +0200 Subject: [PATCH] wallet2: correct variable usage in get_multisig_seed --- src/wallet/wallet2.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wallet/wallet2.cpp b/src/wallet/wallet2.cpp index 621b7ac613..9b09d0920a 100644 --- a/src/wallet/wallet2.cpp +++ b/src/wallet/wallet2.cpp @@ -1456,7 +1456,7 @@ bool wallet2::get_multisig_seed(epee::wipeable_string& seed, const epee::wipeabl return false; } - const uint64_t num_expected_ms_keys = num_priv_multisig_keys_post_setup(threshold, total); + const uint64_t num_expected_ms_keys = num_priv_multisig_keys_post_setup(ms_status.threshold, ms_status.total); crypto::secret_key skey; crypto::public_key pkey;