Example #1
0
 def _get_bu(self):
     decimal_point = self.electrum_config.get('decimal_point',
                                              DECIMAL_POINT_DEFAULT)
     try:
         return decimal_point_to_base_unit_name(decimal_point)
     except UnknownBaseUnit:
         return decimal_point_to_base_unit_name(DECIMAL_POINT_DEFAULT)
Example #2
0
 def _get_bu(self):
     decimal_point = self.electrum_config.get('decimal_point', 8)
     return decimal_point_to_base_unit_name(decimal_point)
Example #3
0
 def _base_unit(self):
     return decimal_point_to_base_unit_name(self.decimal_point())
Example #4
0
 def _get_bu(self):
     decimal_point = self.electrum_config.get('decimal_point', DECIMAL_POINT_DEFAULT)
     try:
         return decimal_point_to_base_unit_name(decimal_point)
     except UnknownBaseUnit:
         return decimal_point_to_base_unit_name(DECIMAL_POINT_DEFAULT)
Example #5
0
 def _base_unit(self):
     return decimal_point_to_base_unit_name(self.decimal_point())