Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
evgeny-stakewise committed Jul 9, 2024
1 parent eda1c09 commit afde65e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sw_utils/ipfs.py
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,7 @@ async def _upload(self, coros: list) -> str:

ipfs_hash = max(ipfs_hashes, key=ipfs_hashes.get) # type: ignore
count = ipfs_hashes[ipfs_hash]
num_responses = sum(ipfs_hashes.values(), 0)
num_responses = sum(ipfs_hashes.values())
quorum = self.get_quorum(num_responses)

if count < quorum:
Expand Down

0 comments on commit afde65e

Please sign in to comment.