added CURRENCY_ATOM to express minimum indivisible unit

also moved CURRENCY_* into feerate.h file to work around MSVC bug
This commit is contained in:
Karl-Johan Alm
2019-08-07 11:32:51 +09:00
parent d4f9ae0025
commit 69158b41fc
2 changed files with 2 additions and 3 deletions

View File

@@ -7,8 +7,6 @@
#include <tinyformat.h>
const std::string CURRENCY_UNIT = "BTC";
CFeeRate::CFeeRate(const CAmount& nFeePaid, size_t nBytes_)
{
assert(nBytes_ <= uint64_t(std::numeric_limits<int64_t>::max()));