wallet2: fix secondary partially signed multisig txes

This commit is contained in:
moneromooo-monero 2018-09-08 23:11:16 +00:00
parent fad88e18a9
commit df0e7c2feb
No known key found for this signature in database
GPG Key ID: 686F07454D6CEFC3

View File

@ -7296,7 +7296,7 @@ void wallet2::transfer_selected_rct(std::vector<cryptonote::tx_destination_entry
THROW_WALLET_EXCEPTION_IF(selected_transfers.size() != sources.size(), error::wallet_internal_error, "mismatched selected_transfers and sources sixes"); THROW_WALLET_EXCEPTION_IF(selected_transfers.size() != sources.size(), error::wallet_internal_error, "mismatched selected_transfers and sources sixes");
for(size_t idx: selected_transfers) for(size_t idx: selected_transfers)
{ {
cryptonote::tx_source_entry& src = sources[src_idx]; cryptonote::tx_source_entry& src = sources_copy[src_idx];
src.multisig_kLRki = get_multisig_composite_kLRki(idx, multisig_signers[signer_index], used_L, new_used_L); src.multisig_kLRki = get_multisig_composite_kLRki(idx, multisig_signers[signer_index], used_L, new_used_L);
++src_idx; ++src_idx;
} }