MCPcopy Create free account
hub / github.com/LUX-Core/lux / valid

Method valid

src/qt/bitcoinunits.cpp:28–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26}
27
28bool BitcoinUnits::valid(int unit)
29{
30 switch (unit) {
31 case LUX:
32 case mLUX:
33 case uLUX:
34 return true;
35 default:
36 return false;
37 }
38}
39
40QString BitcoinUnits::id(int unit)
41{

Callers 1

StopHTTPServerFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected