MCPcopy Create free account
hub / github.com/BTCGPU/BTCGPU / valid

Method valid

src/qt/bitcoinunits.cpp:27–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25}
26
27bool BitcoinUnits::valid(int unit)
28{
29 switch(unit)
30 {
31 case BTG:
32 case mBTG:
33 case uBTG:
34 case SAT:
35 return true;
36 default:
37 return false;
38 }
39}
40
41QString BitcoinUnits::longName(int unit)
42{

Callers 1

StopHTTPServerFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected