change debug.log path, fix Coredump with new zaddr

This commit is contained in:
DenioD
2019-10-27 21:56:00 +01:00
parent 2e48d696f6
commit b3491aaec1
5 changed files with 7 additions and 7 deletions

View File

@@ -39,7 +39,7 @@ void LiteInterface::createNewZaddr(bool, const std::function<void(json)>& cb) {
if (conn == nullptr)
return;
conn->doRPCWithDefaultErrorHandling("new", "z", cb);
conn->doRPCWithDefaultErrorHandling("new", "zs", cb);
}
void LiteInterface::createNewTaddr(const std::function<void(json)>& cb) {

View File

@@ -39,7 +39,7 @@ MainWindow::MainWindow(QWidget *parent) :
ui->setupUi(this);
logger = new Logger(this, QDir(QStandardPaths::writableLocation(QStandardPaths::AppDataLocation)).filePath("silentdragonlite-cli-wallet.log"));
logger = new Logger(this, QDir(QStandardPaths::writableLocation(QStandardPaths::AppDataLocation)).filePath("/home/denio/silentdragonlite/silentdragonlite-wallet.debug.log"));
// Status Bar
setupStatusBar();

View File

@@ -64,7 +64,7 @@ bool Settings::isZAddress(QString addr) {
if (!isValidAddress(addr))
return false;
return addr.startsWith("z");
return addr.startsWith("zs");
}
bool Settings::isTAddress(QString addr) {