From 8b6eb24b81ba6379b39cbb1283572737f79f58c8 Mon Sep 17 00:00:00 2001 From: longxiangqiao Date: Sun, 9 Jun 2024 18:58:10 +0800 Subject: [PATCH] chore: fix some comments Signed-off-by: longxiangqiao --- electrum/gui/qt/history_list.py | 2 +- electrum/gui/qt/rate_limiter.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/electrum/gui/qt/history_list.py b/electrum/gui/qt/history_list.py index 457375f5f..00521ac19 100644 --- a/electrum/gui/qt/history_list.py +++ b/electrum/gui/qt/history_list.py @@ -307,7 +307,7 @@ class HistoryModel(CustomModel, Logger): # add child to parent node.addChild(child_node) - # compute balance once all children have beed added + # compute balance once all children have been added balance = 0 for node in self._root._children: balance += node._data['value'].value diff --git a/electrum/gui/qt/rate_limiter.py b/electrum/gui/qt/rate_limiter.py index 9fb216f9e..acc2856f6 100644 --- a/electrum/gui/qt/rate_limiter.py +++ b/electrum/gui/qt/rate_limiter.py @@ -98,7 +98,7 @@ class RateLimiter(Logger): self.timer.start(int(diff*1e3)) #self.logger.debug("deferring") else: - # We had a timer active, which means as future call will occur. So return early and let that call happenin the future. + # We had a timer active, which means as future call will occur. So return early and let that call happen in the future. # Note that a side-effect of this aborted invocation was to update self.saved_args. pass #self.logger.debug("ignoring (already scheduled)")