Merge pull request #2648 from KPrasch/caster

Fix missing str caster in remove-inactive --all painting.
pull/2649/head
KPrasch 2021-04-15 10:58:29 -07:00 committed by GitHub
commit 7dbf4b8161
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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)