diff options
author | Jonas Schnelli <dev@jonasschnelli.ch> | 2018-05-18 09:05:24 +0200 |
---|---|---|
committer | Jonas Schnelli <dev@jonasschnelli.ch> | 2018-05-18 09:17:20 +0200 |
commit | 2a7c53bc2aa032d443435cfa22058dc11b8bd930 (patch) | |
tree | d0f8aa3f223923c2dc95a5a2211b3ab97df667d2 /src/qt/bitcoinunits.h | |
parent | 1b53e4f67c6dbefadbfda7e40948840fe2b9da48 (diff) | |
parent | c722f00a7e3d638253ef7ba59fcef123fcfd94b0 (diff) | |
download | bitcoin-2a7c53bc2aa032d443435cfa22058dc11b8bd930.tar.xz |
Merge #13264: [qt] Satoshi unit
c722f00a7 [qt] Added satoshi unit "Satoshi (sat)" will be displayed in dropdowns and status bars. "sat" will be used when appended to numbers. (GreatSock)
4ddbcbf8c [qt] BitcoinUnits::format with zero decimals Formatting with zero decimals will now result in 123 instead of 123.0 (GreatSock)
Pull request description:
This adds satoshi as an additional amount unit for the GUI.
Tree-SHA512: c166c96c9a434b6ac700e1628e54f2dbb132c5232d949c0b464f61276a91d56f9bab4a62d50780535f1d34eaac6484f693a1e0611cd7c9d1ed5ebee066c0dd08
Diffstat (limited to 'src/qt/bitcoinunits.h')
-rw-r--r-- | src/qt/bitcoinunits.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/qt/bitcoinunits.h b/src/qt/bitcoinunits.h index 310f651815..9b01b4678a 100644 --- a/src/qt/bitcoinunits.h +++ b/src/qt/bitcoinunits.h @@ -58,7 +58,8 @@ public: { BTC, mBTC, - uBTC + uBTC, + SAT }; enum SeparatorStyle |