Skip to content

Setting Specified payment account on Ledger gives 'Value out of range' error #3770

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

Closed
rhosyn opened this issue Sep 25, 2020 · 9 comments
Closed
Labels
Support Tracks issues or requests related to troubleshooting, answering questions, and user assistance.

Comments

@rhosyn
Copy link

rhosyn commented Sep 25, 2020

From account actions:
Change reward destination -> Select 'Specified Payment Account' -> enter address -> click 'Set reward destination' gives the following error:

Screen Shot 2020-09-25 at 6 35 21 PM

@jacogr
Copy link
Member

jacogr commented Sep 25, 2020

Couple of quick questions -

  • has the stash made txs before?
  • which are Ledger accounts? Stash and/or destination?

@rhosyn
Copy link
Author

rhosyn commented Sep 25, 2020

  • Originally no, the stash has only received a transaction. Since your comment, I've made a small transaction out and re-attempted but I still get the same error.
  • Destination account is not a ledger account (it's a wallet on Polkawallet). Stash & controller accounts are ledger accounts.

@jacogr
Copy link
Member

jacogr commented Sep 25, 2020

Ok, so -

  • stash - Ledger, confirmed working
  • controller - Ledger, this is the sender of the transaction (error may originate here)
  • destination - as long as it is an account added via contacts or as an actual account, should be fine

@jacogr
Copy link
Member

jacogr commented Sep 25, 2020

I am suspecting something weird with the multiple accounts -

What is your stash/controller account and indexes in this case? (Will try to replicate, Just need to know what is shows as, ie. „Ledger 1/2“ in accounts)

@rhosyn
Copy link
Author

rhosyn commented Sep 25, 2020

I've set up the ledger stash/controllers with this pattern:
Stash: 0/0
Controler: 1/0

Stash: 0/1
Controler: 1/1

Stash: 0/2
Controler: 1/2

Stash: 0/3
Controler: 1/3

etc.

@jacogr
Copy link
Member

jacogr commented Sep 25, 2020

Perfect. Ok, not tonight, but will try and replicate first thing in the morning.

@jacogr jacogr added the Support Tracks issues or requests related to troubleshooting, answering questions, and user assistance. label Sep 26, 2020
@jacogr
Copy link
Member

jacogr commented Sep 26, 2020

Ok, have tracked it down, it is a Ledger issue, it does not cater for the latest RewardDestination structures, it only caters for the Stash, Controller and Staked entries, not Account.

In the above values 0, 1, 2 is valid, 3 (which is the Account entry) is not supported.

EDIT: Logged it with the Ledger app

@jacogr
Copy link
Member

jacogr commented Sep 26, 2020

Closing. Tracking issue on Ledger.

@jacogr jacogr closed this as completed Sep 26, 2020
@polkadot-js-bot
Copy link

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue if you think you have a related problem or query.

@polkadot-js polkadot-js locked as resolved and limited conversation to collaborators Jun 4, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Support Tracks issues or requests related to troubleshooting, answering questions, and user assistance.
Projects
None yet
Development

No branches or pull requests

3 participants