Use blockchain instead of wallet for console painting.

pull/2474/head
Kieran Prasch 2020-12-11 13:23:45 -08:00
parent fae2c05509
commit f1a23a025a
2 changed files with 4 additions and 0 deletions

View File

@ -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 (

View File

@ -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,