Fix build warning issues
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user