diff options
author | Riccardo Spagni <ric@spagni.net> | 2018-10-09 16:43:01 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2018-10-09 16:43:01 +0200 |
commit | c23b6f8f56384573a9215db127982b8f79f396d0 (patch) | |
tree | dcc41ebc4c3ebe4f7ce4f2ad8cba3f10d5e4fab3 /src | |
parent | Merge pull request #4517 (diff) | |
parent | wallet2: fix cold signing using non padded bulletproofs (diff) | |
download | monero-c23b6f8f56384573a9215db127982b8f79f396d0.tar.xz |
Merge pull request #4540
8833aec0 wallet2: fix cold signing using non padded bulletproofs (moneromooo-monero)
Diffstat (limited to 'src')
-rw-r--r-- | src/wallet/wallet2.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/wallet/wallet2.cpp b/src/wallet/wallet2.cpp index 7871fe99c..f87edf506 100644 --- a/src/wallet/wallet2.cpp +++ b/src/wallet/wallet2.cpp @@ -5563,10 +5563,7 @@ bool wallet2::sign_tx(unsigned_tx_set &exported_txs, std::vector<wallet2::pendin rct::RangeProofType range_proof_type = rct::RangeProofBorromean; if (sd.use_bulletproofs) { - range_proof_type = rct::RangeProofBulletproof; - for (const rct::Bulletproof &proof: ptx.tx.rct_signatures.p.bulletproofs) - if (proof.V.size() > 1) - range_proof_type = rct::RangeProofPaddedBulletproof; + range_proof_type = rct::RangeProofPaddedBulletproof; } crypto::secret_key tx_key; std::vector<crypto::secret_key> additional_tx_keys; |