rpcwallet: Add Sapling support to z_sendmany

This commit is contained in:
Jack Grigg
2018-08-04 23:19:52 +01:00
parent af4057b904
commit e54c4d2ca1
5 changed files with 298 additions and 31 deletions

View File

@@ -3823,9 +3823,6 @@ UniValue z_sendmany(const UniValue& params, bool fHelp)
contextualTx.nVersion = 2; // Tx format should support vjoinsplits
}
// TODO: Add Sapling support to AsyncRPCOperation_sendmany()
assert(!noSproutAddrs);
// Create operation and add to global queue
std::shared_ptr<AsyncRPCQueue> q = getAsyncRPCQueue();
std::shared_ptr<AsyncRPCOperation> operation( new AsyncRPCOperation_sendmany(builder, contextualTx, fromaddress, taddrRecipients, zaddrRecipients, nMinDepth, nFee, contextInfo) );