Update units.py (#8789)

fixed bug on chia wallet show with did wallet, name should be 'mojo' not 'mojo:'
This commit is contained in:
jcteng
2021-10-15 10:37:55 -07:00
committed by GitHub
parent 8ca6d8dd71
commit 79f9cdaff7
+1 -1
View File
@@ -4,6 +4,6 @@ from typing import Dict
# Only use these units for user facing interfaces.
units: Dict[str, int] = {
"chia": 10 ** 12, # 1 chia (XCH) is 1,000,000,000,000 mojo (1 trillion)
"mojo:": 1,
"mojo": 1,
"colouredcoin": 10 ** 3, # 1 coloured coin is 1000 colouredcoin mojos
}