Remove sprout junk
This commit is contained in:
@@ -4596,11 +4596,7 @@ UniValue z_sendmany(const UniValue& params, bool fHelp, const CPubKey& mypk)
|
|||||||
if (toSapling) {
|
if (toSapling) {
|
||||||
mtx.vShieldedOutput.push_back(OutputDescription());
|
mtx.vShieldedOutput.push_back(OutputDescription());
|
||||||
} else {
|
} else {
|
||||||
JSDescription jsdesc;
|
throw JSONRPCError(RPC_INVALID_PARAMETER, "Invalid parameter, sprout zaddr not valid");
|
||||||
if (mtx.fOverwintered && (mtx.nVersion >= SAPLING_TX_VERSION)) {
|
|
||||||
jsdesc.proof = GrothProof();
|
|
||||||
}
|
|
||||||
mtx.vjoinsplit.push_back(jsdesc);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
CTransaction tx(mtx);
|
CTransaction tx(mtx);
|
||||||
|
|||||||
Reference in New Issue
Block a user