aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet2.h
diff options
context:
space:
mode:
authorj-berman <justinberman@protonmail.com>2022-09-01 16:25:28 -0700
committerj-berman <justinberman@protonmail.com>2022-09-01 16:25:28 -0700
commitfc8a5d68f1f4cbddeddac8a5f0c8f59c2b68229a (patch)
tree643f6a1ad54469e5c2a41c2979ccd1731dc51b01 /src/wallet/wallet2.h
parentMerge pull request #8492 (diff)
downloadmonero-fc8a5d68f1f4cbddeddac8a5f0c8f59c2b68229a.tar.xz
multisig: fix #8537 seed restore (suggestions by @UkoeHB)
- spend secret key is no longer the sum of multisig key shares; no need to check that is the case upon restore. - restoring a multisig wallet from multisig info means that the wallet must have already completed all setup rounds. Upon restore, set the number of rounds completed accordingly.
Diffstat (limited to 'src/wallet/wallet2.h')
-rw-r--r--src/wallet/wallet2.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/wallet/wallet2.h b/src/wallet/wallet2.h
index 16e898ad8..3fce616e3 100644
--- a/src/wallet/wallet2.h
+++ b/src/wallet/wallet2.h
@@ -794,7 +794,8 @@ private:
};
/*!
- * \brief Generates a wallet or restores one.
+ * \brief Generates a wallet or restores one. Assumes the multisig setup
+ * has already completed for the provided multisig info.
* \param wallet_ Name of wallet file
* \param password Password of wallet file
* \param multisig_data The multisig restore info and keys