diff --git a/src/seraphis_wallet/jamtis_keys.h b/src/seraphis_wallet/jamtis_keys.h index 8be2b59ebd2..89e409224fd 100644 --- a/src/seraphis_wallet/jamtis_keys.h +++ b/src/seraphis_wallet/jamtis_keys.h @@ -57,6 +57,9 @@ namespace sp namespace jamtis { +//// +// A set of jamtis keys for mock-ups/unit testing +/// struct JamtisKeys { crypto::secret_key k_m; //master diff --git a/src/seraphis_wallet/key_container.cpp b/src/seraphis_wallet/key_container.cpp index 02248eed284..ac85be4f677 100644 --- a/src/seraphis_wallet/key_container.cpp +++ b/src/seraphis_wallet/key_container.cpp @@ -182,7 +182,6 @@ bool KeyContainer::compare_keys(KeyContainer &other, const crypto::chacha_key &c { // 1. decrypt keys if they are encrypted in memory other.decrypt(chacha_key); - // 2. decrypt if encrypted in memory decrypt(chacha_key);