wallettool: Add experimental warning to importfromcoldcard command

This commit is contained in:
Luke Dashjr 2021-10-30 05:44:33 +00:00
parent 989cb175f1
commit 69dec40189

View File

@ -256,6 +256,8 @@ bool ExecuteWalletToolFunc(const ArgsManager& args, const std::string& command)
}
return ret;
} else if (command == "importfromcoldcard") {
tfm::format(std::cerr, "WARNING: The \"importfromcoldcard\" command is experimental and will likely be removed or changed incompatibly in a future version.\n");
std::string filename = gArgs.GetArg("-dumpfile", "");
if (filename.empty()) {
tfm::format(std::cerr, "To use importfromcoldcard, -dumpfile=<filename> must be provided.\n");