Begin supporting utf8: in z_sendmany opreturn
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user