change debug.log path, fix Coredump with new zaddr
This commit is contained in:
@@ -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) {
|
||||
|
||||
@@ -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();
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user