diff --git a/src/wallet/rpcwallet.cpp b/src/wallet/rpcwallet.cpp index a622dddba..8d33cd1d9 100644 --- a/src/wallet/rpcwallet.cpp +++ b/src/wallet/rpcwallet.cpp @@ -5198,11 +5198,6 @@ UniValue z_sendmany(const UniValue& params, bool fHelp, const CPubKey& mypk) // throw JSONRPCError(RPC_INVALID_ADDRESS_OR_KEY, "Extreme Privacy! You must send to a zaddr"); //} - UniValue this_opret = find_value(o, "opreturn"); - if (!this_opret.isNull()) { - opretValue = this_opret; - } - // Create the CScript representation of the OP_RETURN if (!opretValue.isNull()) { opret << OP_RETURN << ParseHex(opretValue.get_str().c_str());