File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -107,8 +107,8 @@ bool WalletQmlModel::prepareTransaction()
107107 std::vector<wallet::CRecipient> vecSend;
108108 CAmount total = 0 ;
109109 for (auto * recipient : m_send_recipients->recipients ()) {
110- CScript scriptPubKey = GetScriptForDestination ( DecodeDestination (recipient->address ().toStdString () ));
111- wallet::CRecipient c_recipient = {scriptPubKey , recipient->cAmount (), recipient->subtractFeeFromAmount ()};
110+ CTxDestination destination = DecodeDestination (recipient->address ().toStdString ());
111+ wallet::CRecipient c_recipient = {destination , recipient->cAmount (), recipient->subtractFeeFromAmount ()};
112112 m_coin_control.m_feerate = CFeeRate (1000 );
113113 vecSend.push_back (c_recipient);
114114 total += recipient->cAmount ();
You can’t perform that action at this time.
0 commit comments