mirror of https://github.com/nucypher/nucypher.git
Fix wrong confirmation message in nucypher stake create
parent
bb9187fb52
commit
779c07cbe1
|
@ -44,6 +44,7 @@ from nucypher.cli.literature import (
|
|||
COLLECTING_ETH_REWARD,
|
||||
COLLECTING_PREALLOCATION_REWARD,
|
||||
COLLECTING_TOKEN_REWARD,
|
||||
CONFIRM_BROADCAST_CREATE_STAKE,
|
||||
CONFIRM_BROADCAST_STAKE_DIVIDE,
|
||||
CONFIRM_DISABLE_RESTAKING, CONFIRM_DISABLE_WIND_DOWN,
|
||||
CONFIRM_NEW_MIN_POLICY_RATE,
|
||||
|
@ -505,7 +506,7 @@ def create(general_config, transacting_staker_options, config_file, force, value
|
|||
confirm_staged_stake(staker_address=staking_address, value=value, lock_periods=lock_periods)
|
||||
|
||||
# Last chance to bail
|
||||
click.confirm(CONFIRM_BROADCAST_STAKE_DIVIDE, abort=True)
|
||||
click.confirm(CONFIRM_BROADCAST_CREATE_STAKE, abort=True)
|
||||
|
||||
# Authenticate
|
||||
password = transacting_staker_options.get_password(blockchain, client_account)
|
||||
|
|
|
@ -79,6 +79,8 @@ CONFIRM_LARGE_STAKE_VALUE = "Wow, {value} - That's a lot of NU - Are you sure th
|
|||
|
||||
CONFIRM_LARGE_STAKE_DURATION = "Woah, {lock_periods} is a long time - Are you sure this is correct?"
|
||||
|
||||
CONFIRM_BROADCAST_CREATE_STAKE = "Publish staged stake to the blockchain?"
|
||||
|
||||
PREALLOCATION_STAKE_ADVISORY = "Beneficiary {client_account} will use preallocation contract {staking_address} to stake."
|
||||
|
||||
NO_STAKING_ACCOUNTS = "No staking accounts found."
|
||||
|
|
Loading…
Reference in New Issue