Esempio n. 1
0
 def dump_decimals_to_string(self, data):
     if "amount" in data:
         data["amount"] = decimal_to_string(data["amount"])
     if "amount_received" in data:
         data["amount_received"] = decimal_to_string(data["amount_received"])
     if "amount_confirmed" in data:
         data["amount_confirmed"] = decimal_to_string(data["amount_confirmed"])
Esempio n. 2
0
 def dump_decimals_to_string(self, data):
     if "amount" in data:
         data["amount"] = decimal_to_string(data["amount"])
     if "fee" in data:
         data["fee"] = decimal_to_string(data["fee"])
Esempio n. 3
0
 def dump_decimals_to_string(self, data):
     if "amount" in data:
         data["amount"] = decimal_to_string(data["amount"])
     if "fee" in data:
         data["fee"] = decimal_to_string(data["fee"])