def currency_to_precision(self, code, fee, networkCode=None):
    return self.decimal_to_precision(fee, 0, self.currencies[code]['precision'])
def currency_to_precision(self, code, fee, networkCode=None):
    return self.decimal_to_precision(fee, 0, self.currencies[code]['precision'])