Skip to content

Commit

Permalink
fix TypeError steemit#341
Browse files Browse the repository at this point in the history
  • Loading branch information
only-dev-time committed Sep 30, 2024
1 parent 1d0d378 commit b83b8b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hive/steem/block/stream.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def push(self, block):
if self._queue: # if using max_size>0, fork might be in buffer only
buff = self.size()
alert = "NOTIFYALERT " if buff < self._max_size else ""
raise MicroForkException("%squeue:%d %s" % (alert, fork, buff))
raise MicroForkException(f"{alert}queue:{buff} {fork}")
raise ForkException("NOTIFYALERT fork " + fork)

self._prev = next_hash
Expand Down

0 comments on commit b83b8b3

Please sign in to comment.