Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ghostway0 committed May 3, 2024
1 parent 6b637a0 commit 772bf14
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
3 changes: 0 additions & 3 deletions src/seraphis_wallet/jamtis_keys.h
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,6 @@ namespace sp
namespace jamtis
{

////
// A set of jamtis keys for mock-ups/unit testing
///
struct JamtisKeys
{
crypto::secret_key k_m; //master
Expand Down
7 changes: 4 additions & 3 deletions src/seraphis_wallet/key_container.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -178,8 +178,11 @@ void KeyContainer::recover_jamtis_keys(const ser_JamtisKeys &ser_keys, sp::jamti
keys_out.D_fa = ser_keys.D_fa;
}
//-------------------------------------------------------------------------------------------------------------------
bool KeyContainer::compare_keys(KeyContainer &other, const crypto::chacha_key &chacha_key)
{
// 1. decrypt keys if they are encrypted in memory
other.decrypt(chacha_key);

<<<<<<< HEAD
// 2. decrypt if encrypted in memory
decrypt(chacha_key);

Expand All @@ -195,8 +198,6 @@ void KeyContainer::recover_jamtis_keys(const ser_JamtisKeys &ser_keys, sp::jamti
return r;
}
//-------------------------------------------------------------------------------------------------------------------
=======
>>>>>>> 7cca5f918 (jamtis v2)
// KeyGuard
//-------------------------------------------------------------------------------------------------------------------
KeyGuard::KeyGuard(const KeyGuard &other) :
Expand Down

0 comments on commit 772bf14

Please sign in to comment.