Browse Source

Merge JoinMarket-Org/joinmarket-clientserver#1509: Add space between address and comma for added utxos msg for easier selection by double clicking

6cf2237ef8 Add space between address and comma for added utxos msg for easier selection by double clicking (Kristaps Kaupe)

Pull request description:

  So that double clicking in terminal selects "address", not "address," in some terminal apps, for example, xfce4-terminal.

  Before:
  ```
  2023-07-17 19:25:38,528 [INFO]  Added utxos=
   xxx:0 - path: m/84'/0'/2'/0/y, address: bc1qsomething, value: 123456
  ```

  After:
  ```
  2023-07-17 19:25:38,528 [INFO]  Added utxos=
  xxx:0 - path: m/84'/0'/2'/0/y, address: bc1qsomething , value: 123456
  ```

Top commit has no ACKs.

Tree-SHA512: 59cc3cf245eef0d2747b419c23c396920b3bdb67f8fe95c05652194b0b1068dd0778b327f5e26fe5338b0747fa5f10c923f118cd0529a316231b02b8a6fd97db
master
Kristaps Kaupe 2 years ago
parent
commit
a4e0268b48
No known key found for this signature in database
GPG Key ID: 33E472FE870C7E5D
  1. 2
      jmclient/jmclient/output.py

2
jmclient/jmclient/output.py

@ -46,7 +46,7 @@ def fmt_utxo(utxo):
return utxostr
def fmt_tx_data(tx_data, wallet_service):
return 'path: {}, address: {}, value: {}'.format(
return 'path: {}, address: {} , value: {}'.format(
wallet_service.get_path_repr(wallet_service.script_to_path(tx_data['script'])),
wallet_service.script_to_addr(tx_data['script']), tx_data['value'])

Loading…
Cancel
Save