mirror of https://github.com/nucypher/nucypher.git
Use blockchain instead of wallet for console painting.
parent
fae2c05509
commit
f1a23a025a
|
@ -22,6 +22,7 @@ import click
|
|||
from json.decoder import JSONDecodeError
|
||||
from typing import Optional, Type
|
||||
|
||||
from nucypher.config.characters import StakeHolderConfiguration
|
||||
from nucypher.characters.control.emitters import StdoutEmitter
|
||||
from nucypher.cli.actions.confirm import confirm_destroy_configuration
|
||||
from nucypher.cli.literature import (
|
||||
|
|
|
@ -549,6 +549,7 @@ def create(general_config: GroupGeneralConfig,
|
|||
if not force:
|
||||
confirm_large_stake(value=value, lock_periods=lock_periods)
|
||||
paint_staged_stake(emitter=emitter,
|
||||
blockchain=blockchain,
|
||||
stakeholder=STAKEHOLDER,
|
||||
staking_address=staking_address,
|
||||
stake_value=value,
|
||||
|
@ -645,6 +646,7 @@ def increase(general_config: GroupGeneralConfig,
|
|||
|
||||
confirm_large_stake(value=value, lock_periods=lock_periods)
|
||||
paint_staged_stake(emitter=emitter,
|
||||
blockchain=blockchain,
|
||||
stakeholder=STAKEHOLDER,
|
||||
staking_address=staking_address,
|
||||
stake_value=value,
|
||||
|
@ -906,6 +908,7 @@ def divide(general_config: GroupGeneralConfig,
|
|||
if not force:
|
||||
confirm_large_stake(lock_periods=extension, value=value)
|
||||
paint_staged_stake_division(emitter=emitter,
|
||||
blockchain=blockchain,
|
||||
stakeholder=STAKEHOLDER,
|
||||
original_stake=current_stake,
|
||||
target_value=value,
|
||||
|
|
Loading…
Reference in New Issue