Skip to content

Commit

Permalink
use personal API enable flag workaround for #146
Browse files Browse the repository at this point in the history
  • Loading branch information
almindor committed Feb 18, 2023
1 parent 2baa907 commit 3cb7f5b
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion qml/main.qml
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ ApplicationWindow {

Column {
Text {
text: 'Etherwall ' + Qt.application.version + ' copyright 2015-2020 by Aleš Katona.'
text: 'Etherwall ' + Qt.application.version + ' copyright 2015-2023 by Aleš Katona.'
}

Text {
Expand Down
7 changes: 7 additions & 0 deletions src/initializer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,13 @@ namespace Etherwall {
settings.setValue("geth/args", argStr);
qDebug() << "replaced args\n";
}

// enable old personal API until we use clef
if ( !argStr.contains("--rpc.enabledeprecatedpersonal") ) {
argStr.append(" --rpc.enabledeprecatedpersonal");
qDebug() << "enabled personal API\n";
settings.setValue("geth/args", argStr);
}
}

void Initializer::start()
Expand Down
2 changes: 1 addition & 1 deletion src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ int main(int argc, char *argv[])
QCoreApplication::setOrganizationName("Etherdyne");
QCoreApplication::setOrganizationDomain("etherwall.com");
QCoreApplication::setApplicationName("Etherwall");
QCoreApplication::setApplicationVersion("3.0.4");
QCoreApplication::setApplicationVersion("3.0.5");
app.setWindowIcon(QIcon(QPixmap(":/images/icon")));

QTranslator translator;
Expand Down

0 comments on commit 3cb7f5b

Please sign in to comment.