diff options
author | luigi1111 <luigi1111w@gmail.com> | 2020-09-07 14:30:41 -0500 |
---|---|---|
committer | luigi1111 <luigi1111w@gmail.com> | 2020-09-07 14:30:41 -0500 |
commit | fd657c77066c3f16e69823ee2d2e00601d660c30 (patch) | |
tree | 364e6862dc9b7ff47bb50ae5945b6461ff6caae0 /src/wallet | |
parent | Merge pull request #6111 (diff) | |
parent | enable CLSAG support for Trezor client (diff) | |
download | monero-fd657c77066c3f16e69823ee2d2e00601d660c30.tar.xz |
Merge pull request #6798
4e44306 enable CLSAG support for Trezor client (ph4r05)
Diffstat (limited to 'src/wallet')
-rw-r--r-- | src/wallet/wallet2.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/wallet2.cpp b/src/wallet/wallet2.cpp index 3e2ccd1ff..c9289a0b2 100644 --- a/src/wallet/wallet2.cpp +++ b/src/wallet/wallet2.cpp @@ -10682,7 +10682,7 @@ void wallet2::cold_sign_tx(const std::vector<pending_tx>& ptx_vector, signed_tx_ hw::wallet_shim wallet_shim; setup_shim(&wallet_shim, this); aux_data.tx_recipients = dsts_info; - aux_data.bp_version = use_fork_rules(HF_VERSION_SMALLER_BP, -10) ? 2 : 1; + aux_data.bp_version = (use_fork_rules(HF_VERSION_CLSAG, -10) ? 3 : use_fork_rules(HF_VERSION_SMALLER_BP, -10) ? 2 : 1); aux_data.hard_fork = get_current_hard_fork(); dev_cold->tx_sign(&wallet_shim, txs, exported_txs, aux_data); tx_device_aux = aux_data.tx_device_aux; |