Fix missing str caster in remove-inactive --all painting.

pull/2648/head
Kieran Prasch 2021-04-15 10:33:23 -07:00
parent 2bccea4d8a
commit e9714e2a6e
1 changed files with 1 additions and 1 deletions

View File

@ -1087,7 +1087,7 @@ def remove_inactive(general_config: GroupGeneralConfig,
emitter.message(NO_INACTIVE_STAKES, color='red')
raise click.Abort()
if not force:
prompt = CONFIRM_REMOVE_ALL_INACTIVE_SUBSTAKES.format(stakes=", ".join(s.index for s in inactive_stakes),
prompt = CONFIRM_REMOVE_ALL_INACTIVE_SUBSTAKES.format(stakes=", ".join(str(s.index) for s in inactive_stakes),
quantity=len(inactive_stakes),
staker_address=STAKEHOLDER.checksum_address)
click.confirm(prompt, abort=True)