mirror of
https://github.com/monero-project/monero.git
synced 2024-12-23 12:09:54 +00:00
wallet2: fix cold signing using non padded bulletproofs
This code was deciding which bulletproof configuration to use based on ptx which weren't created yet.
This commit is contained in:
parent
3f2bfe87f7
commit
8833aec083
1 changed files with 1 additions and 4 deletions
|
@ -5563,9 +5563,6 @@ 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;
|
||||
}
|
||||
crypto::secret_key tx_key;
|
||||
|
|
Loading…
Reference in a new issue