Skip to content

Commit

Permalink
Merge pull request #9008 from CoolCu/master
Browse files Browse the repository at this point in the history
chore: fix some typos in comments
  • Loading branch information
ecdsa committed Apr 16, 2024
2 parents 137f280 + 3f95cea commit 9c94eb9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion electrum/lnpeer.py
Original file line number Diff line number Diff line change
Expand Up @@ -1503,7 +1503,7 @@ def mark_open(self, chan: Channel):
forwarding_enabled = self.network.config.EXPERIMENTAL_LN_FORWARD_PAYMENTS
if forwarding_enabled and chan.short_channel_id:
# send channel_update of outgoing edge to peer,
# so that channel can be used to to receive payments
# so that channel can be used to receive payments
self.logger.info(f"sending channel update for outgoing edge ({chan.get_id_for_log()})")
chan_upd = chan.get_outgoing_gossip_channel_update()
self.transport.send_bytes(chan_upd)
Expand Down
2 changes: 1 addition & 1 deletion electrum/plugins/coldcard/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ this reason, all PIN code entry is done directly on the device.
Coldcard does not appear on the USB bus until unlocked with appropriate
PIN. Initial setup, and seed generation must be done offline.

Coldcard uses the standard for unsigned tranasctions:
Coldcard uses the standard for unsigned transactions:

PSBT = Partially Signed Bitcoin Transaction = BIP174

Expand Down
4 changes: 2 additions & 2 deletions electrum/plugins/coldcard/coldcard.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ def verify_connection(self, expected_xfp: int, expected_xpub: str):
if ((self._expected_device is not None)
or (self.dev.master_fingerprint != expected_xfp)
or (self.dev.master_xpub != expected_xpub)):
# probably indicating programing error, not hacking
# probably indicating programming error, not hacking
_logger.info(f"xpubs. reported by device: {self.dev.master_xpub}. "
f"stored in file: {expected_xpub}")
raise RuntimeError("Expecting %s but that's not what's connected?!" %
Expand Down Expand Up @@ -239,7 +239,7 @@ def sign_transaction_start(self, raw_psbt: bytes, *, finalize: bool = False):

@runs_in_hwd_thread
def sign_transaction_poll(self):
# poll device... if user has approved, will get tuple: (legnth, checksum) else None
# poll device... if user has approved, will get tuple: (length, checksum) else None
return self.dev.send_recv(CCProtocolPacker.get_signed_txn(), timeout=None)

@runs_in_hwd_thread
Expand Down

0 comments on commit 9c94eb9

Please sign in to comment.