message: Add example + fix return type for regeneratemintpool
diff: @@ -2658,6 +2658,9 @@ UniValue regeneratemintpool(const UniValue &params, bool fHelp) {
  throw runtime_error(
  "regeneratemintpool\n"
  "\nIf issues exist with the keys that map to mintpool entries in the DB, this function corrects them.\n"
  + "\nExamples:\n"
  + + HelpExampleCli("regeneratemintpool", "")
  + + HelpExampleRpc("regeneratemintpool", "")
  );
  if (pwalletMain->IsLocked())
  throw JSONRPCError(RPC_WALLET_UNLOCK_NEEDED,
  @@ -2702,9 +2705,9 @@ UniValue regeneratemintpool(const UniValue &params, bool fHelp) {
  }
  if(reindexRequired)
  - return "Mintpool issue corrected. Please shutdown zcoin and restart with -reindex flag.";
  + throw JSONRPCError(RPC_INTERNAL_ERROR, "Mintpool issue corrected. Please shutdown zcoin and restart with -reindex flag.");
  - return "No issues with mintpool detected.";
  + return true;
  }
  //[zcoin]: zerocoin section
  