]> Git Repo - VerusCoin.git/blobdiff - src/amount.cpp
Testnet fixes
[VerusCoin.git] / src / amount.cpp
index 0a394c96fc03e4ccf8cc9b285be3ca6ed9e08ba4..81f9e947c86cb3e2e68ae392fb81e41c9af7245b 100644 (file)
@@ -1,12 +1,14 @@
 // Copyright (c) 2009-2010 Satoshi Nakamoto
 // Copyright (c) 2009-2014 The Bitcoin Core developers
 // Distributed under the MIT software license, see the accompanying
-// file COPYING or http://www.opensource.org/licenses/mit-license.php.
+// file COPYING or https://www.opensource.org/licenses/mit-license.php .
 
 #include "amount.h"
 
 #include "tinyformat.h"
 
+const std::string CURRENCY_UNIT = "VRSC";
+
 CFeeRate::CFeeRate(const CAmount& nFeePaid, size_t nSize)
 {
     if (nSize > 0)
@@ -27,5 +29,5 @@ CAmount CFeeRate::GetFee(size_t nSize) const
 
 std::string CFeeRate::ToString() const
 {
-    return strprintf("%d.%08d BTC/kB", nSatoshisPerK / COIN, nSatoshisPerK % COIN);
+    return strprintf("%d.%08d %s/kB", nSatoshisPerK / COIN, nSatoshisPerK % COIN, CURRENCY_UNIT);
 }
This page took 0.02317 seconds and 4 git commands to generate.