autosign: minor fixes and cleanups

This commit is contained in:
The MMGen Project 2026-05-07 17:52:59 +00:00
commit 91e10be951
Signed by: mmgen
GPG key ID: 3F8B1861E32B7DA2
4 changed files with 5 additions and 4 deletions

View file

@ -942,7 +942,7 @@ class Autosign:
await self.do_sign()
prev_status = status
if not n % 10:
msg_r(f'\r{" "*17}\rWaiting')
msg_r(f'\r{" " * 38}\rWaiting for device insertion')
await asyncio.sleep(0.2 if threaded else 1)
if not threaded:
msg_r('.')

View file

@ -43,7 +43,7 @@ class LEDControl:
boards = {
'raspi_pi': binfo(
name = 'Raspberry Pi',
name = 'Raspberry Pi (Armbian)',
control = '/sys/class/leds/led0/brightness',
trigger = '/sys/class/leds/led0/trigger',
trigger_dfl = 'mmc0',

View file

@ -66,7 +66,8 @@ opts_data = {
(default: {asi.dfl_wallet_dir!r})
-W, --allow-non-wallet-swap Allow signing of swap transactions that send funds
to non-wallet addresses
-x, --xmrwallets=L Range or list of wallets to be used for XMR autosigning
-x, --xmrwallets=L Range or list of wallet numbers to be used for XMR
autosigning
""",
'notes': """

View file

@ -1086,7 +1086,7 @@ class CmdTestAutosignLive(CmdTestAutosignBTC):
t.expect(f'{self.tx_count} non-automount transactions signed')
if self.bad_tx_count:
t.expect(f'{self.bad_tx_count} non-automount transactions failed to sign')
t.expect('Waiting')
t.expect('Waiting for device insertion')
if led_opts:
opts_msg = '' + ' '.join(led_opts) + ''