Browse Source

Show version of SD that generates a config file

pull/81/head
Duke Leto 2 years ago
parent
commit
968dfef194
  1. 3
      src/connection.cpp

3
src/connection.cpp

@ -7,6 +7,7 @@
#include "ui_createzcashconfdialog.h"
#include "rpc.h"
#include "precompiled.h"
#include "version.h"
ConnectionLoader::ConnectionLoader(MainWindow* main, RPC* rpc) {
this->main = main;
@ -200,7 +201,7 @@ void ConnectionLoader::createHushConf() {
QTextStream out(&file);
out << "# Autogenerated by Hush SilentDragon https://hush.is\n";
out << "# Autogenerated by Hush SilentDragon " << APP_VERSION << " https://hush.is\n";
out << "server=1\n";
out << "rpcuser=hush\n";
out << "rpcpassword=" % randomPassword() << "\n";

Loading…
Cancel
Save