mirror of
https://github.com/basicswap/basicswap.git
synced 2026-05-08 23:42:12 +02:00
BLACK
This commit is contained in:
@@ -200,9 +200,9 @@ def js_walletbalances(self, url_split, post_string, is_json) -> bytes:
|
||||
if field in w:
|
||||
raw = w[field]
|
||||
if isinstance(raw, float):
|
||||
coin_entry[field] = (
|
||||
f"{raw:.8f}".rstrip("0").rstrip(".")
|
||||
)
|
||||
coin_entry[field] = f"{raw:.8f}".rstrip(
|
||||
"0"
|
||||
).rstrip(".")
|
||||
elif isinstance(raw, int):
|
||||
coin_entry[field] = str(raw)
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user