Skip to content

Commit bc9ebf2

Browse files
committed
flake8 fix
1 parent a804fe6 commit bc9ebf2

File tree

1 file changed

+4
-7
lines changed
  • electrum/plugins/timelock_recovery

1 file changed

+4
-7
lines changed

electrum/plugins/timelock_recovery/qt.py

+4-7
Original file line numberDiff line numberDiff line change
@@ -872,13 +872,10 @@ def _save_recovery_plan_pdf(self):
872872
intro_text = (
873873
f"This document will guide you through the process of recovering the funds on wallet: {self.wallet_name}. "
874874
f"The process will take at least {self.timelock_days} days, and will eventually send the following amount "
875-
f"to the following {"address" if len(recovery_tx_outputs) == 1 else "addresses"}:\n\n"
876-
f"{', '.join([
877-
f'• {output.address}: {format_sats_as_btc(output.value)} BTC'
878-
for output in recovery_tx_outputs
879-
])}\n\n"
880-
f"Before proceeding, MAKE SURE THAT YOU HAVE ACCESS TO THE {"WALLET OF THIS ADDRESS" if len(recovery_tx_outputs) == 1 else "WALLETS OF THESE ADDRESSES"}, "
881-
f"OR TRUST THE {"OWNER OF THIS ADDRESS" if len(recovery_tx_outputs) == 1 else "OWNERS OF THESE ADDRESSES"}. "
875+
f"to the following {'address' if len(recovery_tx_outputs) == 1 else 'addresses'}:\n\n"
876+
+ '\n'.join(f'• {output.address}: {format_sats_as_btc(output.value)} BTC' for output in recovery_tx_outputs) + "\n\n"
877+
f"Before proceeding, MAKE SURE THAT YOU HAVE ACCESS TO THE {'WALLET OF THIS ADDRESS' if len(recovery_tx_outputs) == 1 else 'WALLETS OF THESE ADDRESSES'}, "
878+
f"OR TRUST THE {'OWNER OF THIS ADDRESS' if len(recovery_tx_outputs) == 1 else 'OWNERS OF THESE ADDRESSES'}. "
882879
"The simplest way to do so is to send a small amount to the address, and then trying "
883880
"to send all funds from that wallet to a different wallet. Also important: make sure that the "
884881
"seed-phrase of this wallet has not been compromised, or else a malicious actor could steal "

0 commit comments

Comments
 (0)