Skip to content

Commit 9286965

Browse files
committed
spark txid display fix
1 parent ec7e2ab commit 9286965

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

funding/factory.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,12 @@ async def mintspark(self, sparkAddress: str, amount: float, memo: str = "") -> s
6060
}
6161

6262
blob = await self._make_request(data=data)
63-
return blob['result']
63+
64+
txids = blob['result']
65+
if isinstance(txids, list):
66+
txids = ', '.join(txids)
67+
68+
return txids
6469

6570

6671
async def create_address(self) -> dict:

0 commit comments

Comments
 (0)