Change CURRENCY_UNIT and BitcoinUnits::name
This will show LBRY instead of BTC
This commit is contained in:
parent
20ae466765
commit
d438e9f968
2 changed files with 4 additions and 4 deletions
|
@ -7,7 +7,7 @@
|
||||||
|
|
||||||
#include "tinyformat.h"
|
#include "tinyformat.h"
|
||||||
|
|
||||||
const std::string CURRENCY_UNIT = "BTC";
|
const std::string CURRENCY_UNIT = "LBRY";
|
||||||
|
|
||||||
CFeeRate::CFeeRate(const CAmount& nFeePaid, size_t nBytes_)
|
CFeeRate::CFeeRate(const CAmount& nFeePaid, size_t nBytes_)
|
||||||
{
|
{
|
||||||
|
|
|
@ -40,9 +40,9 @@ QString BitcoinUnits::name(int unit)
|
||||||
{
|
{
|
||||||
switch(unit)
|
switch(unit)
|
||||||
{
|
{
|
||||||
case BTC: return QString("BTC");
|
case BTC: return QString("LBRY");
|
||||||
case mBTC: return QString("mBTC");
|
case mBTC: return QString("mLBRY");
|
||||||
case uBTC: return QString::fromUtf8("μBTC");
|
case uBTC: return QString::fromUtf8("μLBRY");
|
||||||
default: return QString("???");
|
default: return QString("???");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue