From 30001d42539cb63e7ffc6898c328058a34fc9642 Mon Sep 17 00:00:00 2001 From: Duke Leto Date: Sun, 22 Aug 2021 17:34:44 -0400 Subject: [PATCH] Comment out a z2z check that isn't quite correct --- src/wallet/asyncrpcoperation_sendmany.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/wallet/asyncrpcoperation_sendmany.cpp b/src/wallet/asyncrpcoperation_sendmany.cpp index 04d700c44..762d50021 100644 --- a/src/wallet/asyncrpcoperation_sendmany.cpp +++ b/src/wallet/asyncrpcoperation_sendmany.cpp @@ -194,9 +194,11 @@ bool AsyncRPCOperation_sendmany::main_impl() { assert(isfromtaddr_ != isfromzaddr_); + /* TODO: this needs to allow DPoW addresses. Consensus-time checks do it correctly. if(t_outputs_.size() > 0) { throw JSONRPCError(RPC_WALLET_ERROR, "Extreme Privacy! You cannot send to a transparent address."); } + */ bool isSingleZaddrOutput = (t_outputs_.size()==0 && z_outputs_.size()==1); bool isMultipleZaddrOutput = (t_outputs_.size()==0 && z_outputs_.size()>=1);