aboutsummaryrefslogtreecommitdiff
path: root/src/qt/bitcoinunits.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/qt/bitcoinunits.h')
-rw-r--r--src/qt/bitcoinunits.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/qt/bitcoinunits.h b/src/qt/bitcoinunits.h
index 18b623517c..4dfdbea044 100644
--- a/src/qt/bitcoinunits.h
+++ b/src/qt/bitcoinunits.h
@@ -22,6 +22,8 @@ public:
/// Static API
// Get list of units, for dropdown box
static QList<Unit> availableUnits();
+ // Is unit ID valid?
+ static bool valid(int unit);
// Short name
static QString name(int unit);
// Longer description