From 38901a073bf3905dcfbebf25412ec5eba0b8ca2d Mon Sep 17 00:00:00 2001 From: Duke Date: Thu, 29 May 2025 15:24:17 -0400 Subject: [PATCH] opreturn is no longer a valid json key in z_sendmany --- src/wallet/rpcwallet.cpp | 5 ----- 1 file changed, 5 deletions(-) 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());