Remove "rpc" category from GetWarnings

No longer used after removing safe mode.

This function can likely be simplified more, but I'll leave that
for later to make this easy to review.
This commit is contained in:
Wladimir J. van der Laan
2018-04-27 09:25:42 +02:00
parent 7da3b0adb8
commit d8e9a2ac74
2 changed files with 2 additions and 6 deletions

View File

@@ -15,7 +15,6 @@ bool GetfLargeWorkForkFound();
void SetfLargeWorkInvalidChainFound(bool flag);
/** Format a string that describes several potential problems detected by the core.
* strFor can have three values:
* - "rpc": get critical warnings, which should put the client in safe mode if non-empty
* - "statusbar": get all warnings
* - "gui": get all warnings, translated (where possible) for GUI
* This function only returns the highest priority warning of the set selected by strFor.