autosign: minor fixes and cleanups
This commit is contained in:
parent
9e40e6c8c9
commit
91e10be951
4 changed files with 5 additions and 4 deletions
|
|
@ -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('.')
|
||||
|
|
|
|||
|
|
@ -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',
|
||||
|
|
|
|||
|
|
@ -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': """
|
||||
|
||||
|
|
|
|||
|
|
@ -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) + '’'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue