| 55 | } |
| 56 | |
| 57 | std::string CFeeRate::ToString() const { |
| 58 | const auto ¤cy = Currency::get(); |
| 59 | return strprintf("%d.%0*d %s/kB", nSatoshisPerK / currency.baseunit, |
| 60 | currency.decimals, |
| 61 | (nSatoshisPerK % currency.baseunit) / currency.subunit, |
| 62 | currency.ticker); |
| 63 | } |
no outgoing calls
no test coverage detected