Fix build warning issues

This commit is contained in:
root
2026-04-28 07:34:45 +00:00
parent 0d9afa3986
commit 34864c5254
11 changed files with 18 additions and 21 deletions
+1 -1
View File
@@ -96,7 +96,7 @@ bool CMasternodeConfig::CMasternodeEntry::castOutputIndex(int &n)
{
try {
n = std::stoi(outputIndex);
} catch (const std::exception e) {
} catch (const std::exception& e) {
LogPrintf("%s: %s on getOutputIndex\n", __func__, e.what());
return false;
}