Fix small bug that affected `nucypher stake` when no staking address was passed as flag

pull/1576/head
David Núñez 2020-01-19 03:33:43 +01:00
parent e9aa2128f4
commit 323922b2ea
1 changed files with 1 additions and 1 deletions

View File

@ -464,7 +464,7 @@ def handle_client_account_for_staking(emitter,
client_account = select_client_account(prompt="Select staking account",
emitter=emitter,
registry=stakeholder.registry,
network=stakeholder.domains[0], # FIXME: 1496
network=stakeholder.network,
provider_uri=stakeholder.wallet.blockchain.provider_uri)
staking_address = client_account