Skip to content
This repository has been archived by the owner on Mar 12, 2020. It is now read-only.

Cannot list just the nth account in a wallet #862

Open
dpetranek opened this issue Jul 17, 2019 · 1 comment
Open

Cannot list just the nth account in a wallet #862

dpetranek opened this issue Jul 17, 2019 · 1 comment
Labels
bug Something isn't working

Comments

@dpetranek
Copy link

Describe the bug
If I want to see the third account I can do textile wallet accounts -d 3 <m>, but that shows me accounts 1-3. So I add an offset textile wallet accounts -d 3 -o 3 <m>, and now I see accounts 3-5. So I think what I'd want is textile wallet accounts -d 1 -o 3 <m> but that's not legal: offset must be greater than 0 and less than depth

To Reproduce
textile wallet accounts -d 1 -o 3 <m>

Note that you receive an error message instead of just one account.

Expected behavior
I would expect to see the only the third account.

@dpetranek dpetranek added the bug Something isn't working label Jul 17, 2019
@carsonfarmer
Copy link
Member

We have this functionality now in https://github.com/textileio/js-textile-wallet. Perhaps we could provide the same API/functionality here?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants