From 323922b2ea3d0bb00574e6610afacb1089f5da9c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20N=C3=BA=C3=B1ez?= Date: Sun, 19 Jan 2020 03:33:43 +0100 Subject: [PATCH] Fix small bug that affected `nucypher stake` when no staking address was passed as flag --- nucypher/cli/actions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nucypher/cli/actions.py b/nucypher/cli/actions.py index 237690262..c2ffdf14a 100644 --- a/nucypher/cli/actions.py +++ b/nucypher/cli/actions.py @@ -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