Skip to content

Commit a6f5485

Browse files
UPDATE. lovelace_amount variable should be an integer value
1 parent 0f35dd1 commit a6f5485

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pycardano/backend/blockfrost.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ def utxos(self, address: str) -> List[UTxO]:
161161
[result.tx_hash, result.output_index]
162162
)
163163
amount = result.amount
164-
lovelace_amount = None
164+
lovelace_amount = 0
165165
multi_assets = MultiAsset()
166166
for item in amount:
167167
if item.unit == "lovelace":

0 commit comments

Comments
 (0)