Skip to content

Commit

Permalink
use root_path from NeedsWalletRPC
Browse files Browse the repository at this point in the history
  • Loading branch information
emlowe committed Nov 8, 2024
1 parent 37e10c0 commit 6ebf3b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chia/cmds/plotnft_funcs.py
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ async def show(rpc_info: NeedsWalletRPC, wallet_id_passed_in: Optional[int]) ->
if wallet_id_passed_in is not None:
await wallet_id_lookup_and_check(wallet_info.client, wallet_id_passed_in)
try:
async with get_any_service_client(FarmerRpcClient) as (farmer_client, _):
async with get_any_service_client(client_type=FarmerRpcClient, root_path=rpc_info.context.get("root_path")) as (farmer_client, _):
pool_state_list = (await farmer_client.get_pool_state())["pool_state"]
pool_state_dict = {
bytes32.from_hexstr(pool_state_item["pool_config"]["launcher_id"]): pool_state_item
Expand Down

0 comments on commit 6ebf3b8

Please sign in to comment.