diff options
| author | Philip Kaufmann <[email protected]> | 2014-06-11 12:23:49 +0200 |
|---|---|---|
| committer | Philip Kaufmann <[email protected]> | 2014-06-12 13:19:12 +0200 |
| commit | f5ae6c98260fdd3c0ca203ce67c6467d9cdaea95 (patch) | |
| tree | 44b49c1f22f9c9ec6ec0ea9aede291b17112595b /src/qt/rpcconsole.cpp | |
| parent | Merge pull request #2784 (diff) | |
| download | discoin-f5ae6c98260fdd3c0ca203ce67c6467d9cdaea95.tar.xz discoin-f5ae6c98260fdd3c0ca203ce67c6467d9cdaea95.zip | |
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 199050cc5..f7491f4a4 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())); } } |