diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index 7334cf3..ea7f52a 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -181,7 +181,7 @@ void MainWindow::restoreSavedStates() { // Explicitly set the tx table resize headers, since some previous values may have made them // non-expandable. ui->transactionsTable->horizontalHeader()->setSectionResizeMode(3, QHeaderView::Interactive); - ui->transactionsTable->horizontalHeader()->setSectionResizeMode(4, QHeaderView::Stretch); + ui->transactionsTable->horizontalHeader()->setSectionResizeMode(4, QHeaderView::Interactive); } void MainWindow::doClose() { diff --git a/src/rpc.cpp b/src/rpc.cpp index 35a073b..ec5bd8d 100644 --- a/src/rpc.cpp +++ b/src/rpc.cpp @@ -219,7 +219,7 @@ void RPC::importTPrivKey(QString addr, bool rescan, const std::function& cb) { - QString method = address.startsWith("z") ? "z_validateaddress" : "validateaddress"; + QString method = Settings::isZAddress(address) ? "z_validateaddress" : "validateaddress"; json payload = { {"jsonrpc", "1.0"},