diff options
author | Philip Kaufmann <phil.kaufmann@t-online.de> | 2014-06-11 12:23:49 +0200 |
---|---|---|
committer | Philip Kaufmann <phil.kaufmann@t-online.de> | 2014-06-12 13:19:12 +0200 |
commit | f5ae6c98260fdd3c0ca203ce67c6467d9cdaea95 (patch) | |
tree | 44b49c1f22f9c9ec6ec0ea9aede291b17112595b /src/qt/rpcconsole.cpp | |
parent | 3f39b9d4551d729c3a2e4decd810ac6887cfaeb3 (diff) |
add NetworkIDString() to chainparams
- returns the BIP70 network string
- use that new function in the core and GUI code and remove unused code
and functions
Diffstat (limited to 'src/qt/rpcconsole.cpp')
-rw-r--r-- | src/qt/rpcconsole.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qt/rpcconsole.cpp b/src/qt/rpcconsole.cpp index 199050cc57..f7491f4a42 100644 --- a/src/qt/rpcconsole.cpp +++ b/src/qt/rpcconsole.cpp @@ -316,7 +316,7 @@ void RPCConsole::setClientModel(ClientModel *model) ui->buildDate->setText(model->formatBuildDate()); ui->startupTime->setText(model->formatClientStartupTime()); - ui->networkName->setText(model->getNetworkName()); + ui->networkName->setText(QString::fromStdString(Params().NetworkIDString())); } } |