Skip to content

Commit

Permalink
Delete fetch-params.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
Liquid369 committed Jun 27, 2023
1 parent aa9be76 commit 2c73d25
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 238 deletions.
16 changes: 10 additions & 6 deletions src/init.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -741,12 +741,16 @@ static void LoadSaplingParams()
try {
initZKSNARKS();
} catch (std::runtime_error &e) {
uiInterface.ThreadSafeMessageBox(strprintf(
_("Cannot find the Sapling parameters in the following directory:\n"
"%s\n"
"Please run 'sapling-fetch-params' or './util/fetch-params.sh' and then restart."),
ZC_GetParamsDir()),
"", CClientUIInterface::MSG_ERROR);
std::string strError = strprintf(_("Cannot find the Sapling parameters in the following directory:\n%s"), ZC_GetParamsDir());
std::string strErrorPosix = strprintf(_("Please run the included %s script and then restart."), "install-params.sh");
std::string strErrorWin = strprintf(_("Please copy the included params files to the %s directory."), ZC_GetParamsDir());
uiInterface.ThreadSafeMessageBox(strError + "\n"
#ifndef WIN32
+ strErrorPosix,
#else
+ strErrorWin,
#endif
"", CClientUIInterface::MSG_ERROR);
StartShutdown();
return;
}
Expand Down
232 changes: 0 additions & 232 deletions util/fetch-params.sh

This file was deleted.

0 comments on commit 2c73d25

Please sign in to comment.