Skip to content

[Bug] chia plotnft get_login_link generates wrong URL when farming to multiple pools #17768

Open
@whosrdaddy

Description

@whosrdaddy

What happened?

I farm currently to 2 different pools, first wallet ID is connected to spacepool , second wallet ID is connected to spacefarmers .
When I execute chia plotnft get_login_link -l I get the correct link for spacefarmers, when I do the same for the first wallet (spacepool) I get an url for spacefarmers, not spacepool, it seems like it always generates the URL for the highest wallet ID, which is in my case spacefarmers. My workaround is to correct the wrongly generated url with the correct url but this is a bit annoying.
Second problem is that the link is not correct (observe the second / after https://xch.spacefarmers.io/

Version

2.1.4

What platform are you using?

Linux

What ui mode are you using?

CLI

Relevant log output

pc:~$ chia plotnft show
Wallet height: 5114136
Sync status: Synced
Wallet ID: 2
Current state: FARMING_TO_POOL
Current state from block height: 543474
Launcher ID: ...
Target address (not for plotting): ...
Number of plots: ...
Owner public key: ...
Pool contract address (use ONLY for plotting - do not send money to this address): ...
Current pool URL: https://eu1.pool.space
etc...

Wallet ID: 3
Current state: FARMING_TO_POOL
Current state from block height: 3526817
Launcher ID: ...
Target address (not for plotting): ...
Number of plots: ...
Owner public key: ...
Pool contract address (use ONLY for plotting - do not send money to this address): ...
Current pool URL: https://xch.spacefarmers.io/
etc...

pc:~$ chia plotnft get_login_link -l <launcher ID of wallet ID 2 (spacepool)>
https://xch.spacefarmers.io//login?launcher_id=<redacted>&authentication_token=...
^^
Incorrect, should be https://eu1.pool.space/...
pc:~$ chia plotnft get_login_link -l <launcher ID of wallet ID 3 (spacefarmers)>
https://xch.spacefarmers.io//login?launcher_id=<redacted>&authentication_token=...

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions