Put quotes around the parameter. In theory, std::quoted
should be used, but that seems overkill.
This should avoid error messages such as A valid sighash parameter is not a valid sighash parameter. (code -8)
.
Also, it should fix fuzz false positives when searching for internal bugs in the rpc
fuzz target. For example, ZGVzY3JpcHRvcnByb2Nlc3Nwc2J0XP9ce1tdXOVJbnRlcm5hbCBidWcgZGV0ZWN0ZWQAXQ0AHfcAXQ1p7TJv
.