This commit is contained in:
jl777
2017-07-13 22:15:17 +02:00
parent f33d372c76
commit 3d0387c984

View File

@@ -1107,9 +1107,9 @@ void AsyncRPCOperation_sendmany::add_taddr_change_output_to_tx(CAmount amount) {
LOCK2(cs_main, pwalletMain->cs_wallet); LOCK2(cs_main, pwalletMain->cs_wallet);
EnsureWalletIsUnlocked(); EnsureWalletIsUnlocked();
if ( 0 ) //if ( 0 )
CScript scriptPubKey = GetScriptForDestination(fromaddress.Get()); // CScript scriptPubKey = GetScriptForDestination(fromaddress.Get());
else //else
{ {
CReserveKey keyChange(pwalletMain); CReserveKey keyChange(pwalletMain);
CPubKey vchPubKey; CPubKey vchPubKey;