From 8833aec08331131c2eb69a1ac3709837f63a14d8 Mon Sep 17 00:00:00 2001 From: moneromooo-monero Date: Tue, 9 Oct 2018 14:31:21 +0000 Subject: [PATCH] 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. --- src/wallet/wallet2.cpp | 5 +---- 1 file changed, 1 insertion(+), 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 1) - range_proof_type = rct::RangeProofPaddedBulletproof; + range_proof_type = rct::RangeProofPaddedBulletproof; } crypto::secret_key tx_key; std::vector additional_tx_keys;