Beispiel #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"])
Beispiel #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"])
Beispiel #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"])