mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-14 12:43:40 +02:00
Merge 8aa6178961 into merged_master (Bitcoin PR #20003)
This commit is contained in:
commit
64bfdd9af8
2 changed files with 11 additions and 0 deletions
|
|
@ -1231,6 +1231,10 @@ bool AppInitParameterInteraction(const ArgsManager& args)
|
|||
|
||||
nMaxTipAge = args.GetArg("-maxtipage", DEFAULT_MAX_TIP_AGE);
|
||||
|
||||
if (args.IsArgSet("-proxy") && args.GetArg("-proxy", "").empty()) {
|
||||
return InitError(_("No proxy server specified. Use -proxy=<ip> or -proxy=<ip:port>."));
|
||||
}
|
||||
|
||||
try {
|
||||
const std::string default_asset_name = gArgs.GetArg("-defaultpeggedassetname", "bitcoin");
|
||||
InitGlobalAssetDir(gArgs.GetArgs("-assetdir"), default_asset_name);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue