Begin supporting utf8: in z_sendmany opreturn

This commit is contained in:
Duke
2025-05-20 12:29:56 -04:00
parent 492fbcd023
commit fb3eb56c8f

View File

@@ -5156,6 +5156,11 @@ UniValue z_sendmany(const UniValue& params, bool fHelp, const CPubKey& mypk)
UniValue opretValue;
if(params.size() == 5) {
opretValue = params[4].get_str();
if(opretValue.get_str().substr(0,5) == "utf8:") {
// TODO: 1) remove the first 5 chars
// 2) convert remaining text to hex and store in opretValue
}
}
bool containsSaplingOutput = false;