Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hsw-cli should (?) filter environment variables for wallet-* #48

Open
pinheadmz opened this issue Mar 31, 2022 · 0 comments
Open

hsw-cli should (?) filter environment variables for wallet-* #48

pinheadmz opened this issue Mar 31, 2022 · 0 comments

Comments

@pinheadmz
Copy link
Member

To reproduce:

start hsd with custom ports:
$ hsd --network=regtest --memory=true --http-port=10000 --wallet-http-port=20000

set environment variables:

$ export HSD_HTTP_PORT=10000
$ export HSD_WALLET_HTTP_PORT=20000

make client calls:

$ hsd-cli info                       # success
$ hsw-cli wallets                    # fails, gets redirected to NODE HTTP PORT (10000)
# hsw-cli wallets --http-port=20000  # success

so, hsw-cli might want to filter environment variablels to correctly parse WALLET_HTTP_PORT

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant