diff options
author | jeffro256 <jeffro256@tutanota.com> | 2023-06-12 01:30:38 -0500 |
---|---|---|
committer | jeffro256 <jeffro256@tutanota.com> | 2023-06-12 16:49:33 -0500 |
commit | dc24312bc3c8c9d865e4576631832c81d6dd212d (patch) | |
tree | e9a0cf330a290531ff8db1dec1db4544c9920136 /src/wallet/wallet2.h | |
parent | Merge pull request #8846 (diff) | |
download | monero-dc24312bc3c8c9d865e4576631832c81d6dd212d.tar.xz |
wallet: respect frozen key images in multisig wallets [RELEASE]
Before this change, if a multisig peer asked you to sign a transaction with a frozen enote, the wallet will do it without any error or warning. This change makes it
so that wallets will refuse to sign multisig transactions with frozen enotes.
Disclaimer: This PR was generously funded by @LocalMonero.
Diffstat (limited to 'src/wallet/wallet2.h')
-rw-r--r-- | src/wallet/wallet2.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wallet/wallet2.h b/src/wallet/wallet2.h index 50975c756..d5f682e59 100644 --- a/src/wallet/wallet2.h +++ b/src/wallet/wallet2.h @@ -1645,6 +1645,7 @@ private: void thaw(const crypto::key_image &ki); bool frozen(const crypto::key_image &ki) const; bool frozen(const transfer_details &td) const; + bool frozen(const multisig_tx_set& txs) const; // does partially signed txset contain frozen enotes? bool save_to_file(const std::string& path_to_file, const std::string& binary, bool is_printable = false) const; static bool load_from_file(const std::string& path_to_file, std::string& target_str, size_t max_size = 1000000000); |