diff options
| author | luigi1111 <luigi1111w@gmail.com> | 2022-04-19 22:21:21 -0500 |
|---|---|---|
| committer | luigi1111 <luigi1111w@gmail.com> | 2022-04-19 22:21:21 -0500 |
| commit | 9f814edbd78c70c70b814ca934c1ddef58768262 (patch) | |
| tree | a27405ea683afdd6a31e27a215f7de9fdb1981b4 /src/wallet | |
| parent | d8f73133b1e400dfbfed0fb05706103b715f1134 (diff) | |
| parent | 9df7179aaf081787b9bc7a14d3b8a265ee061339 (diff) | |
| download | monzero-core-9f814edbd78c70c70b814ca934c1ddef58768262.tar.gz monzero-core-9f814edbd78c70c70b814ca934c1ddef58768262.tar.xz monzero-core-9f814edbd78c70c70b814ca934c1ddef58768262.zip | |
Merge pull request #8254
9df7179 wallet2: use BP+ for cold signing (moneromooo-monero)
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 99a557e68..71559c456 100644 --- a/src/wallet/wallet2.cpp +++ b/src/wallet/wallet2.cpp @@ -10660,7 +10660,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_CLSAG, -10) ? 3 : use_fork_rules(HF_VERSION_SMALLER_BP, -10) ? 2 : 1); + aux_data.bp_version = (use_fork_rules(HF_VERSION_BULLETPROOF_PLUS, -10) ? 4 : 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; |
