Change CURRENCY_UNIT and BitcoinUnits::name

This will show LBRY instead of BTC
This commit is contained in:
mkg20001 2017-04-29 10:27:52 +02:00 committed by Alex Grintsvayg
parent 20ae466765
commit d438e9f968
2 changed files with 4 additions and 4 deletions

View file

@ -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_)
{ {

View file

@ -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("???");
} }
} }