|
|
@ -878,7 +878,7 @@ UniValue AsyncRPCOperation_sendmany::perform_joinsplit(AsyncJoinSplitInfo & info |
|
|
|
std::vector<boost::optional < ZCIncrementalWitness>> witnesses; |
|
|
|
uint256 anchor; |
|
|
|
{ |
|
|
|
LOCK2(cs_main, pwalletMain->cs_wallet); |
|
|
|
LOCK(cs_main); |
|
|
|
anchor = pcoinsTip->GetBestAnchor(); // As there are no inputs, ask the wallet for the best anchor
|
|
|
|
} |
|
|
|
return perform_joinsplit(info, witnesses, anchor); |
|
|
|