mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-12-07 11:12:50 +01:00
rpc: Reword SighashFromStr error message
This commit is contained in:
@@ -256,6 +256,6 @@ util::Result<int> SighashFromStr(const std::string& sighash)
|
||||
if (it != map_sighash_values.end()) {
|
||||
return it->second;
|
||||
} else {
|
||||
return util::Error{Untranslated(sighash + " is not a valid sighash parameter.")};
|
||||
return util::Error{Untranslated("'" + sighash + "' is not a valid sighash parameter.")};
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user