Fix QT transaction blinding details being committed to wallet

This commit is contained in:
Gregory Sanders 2019-08-22 15:25:42 -04:00 committed by Steven Roose
parent 523a7e9d6c
commit fdc365e9cc
No known key found for this signature in database
GPG key ID: 2F2A88D7F8D68E87

View file

@ -276,7 +276,7 @@ public:
}
}
if (!m_wallet->CreateTransaction(*locked_chain, recipients, pending->m_tx, pending->m_keys, fee, change_pos,
fail_reason, coin_control, sign)) {
fail_reason, coin_control, sign, gArgs.GetBoolArg("-blindedaddresses", g_con_elementsmode) ? &pending->m_blind_details : nullptr)) {
return {};
}
out_amounts = pending->m_blind_details.o_amounts;