tezbox / web-wallet

13 stars 20 forks source link

Changing Delegate Address on Existing Delegation Fails #32

Open awasunyin opened 5 years ago

awasunyin commented 5 years ago

I have not been able to duplicate this error myself, but there seems to be an issue with certain accounts when the user wishes to change the "delegate" address on their KT1 account.

I cannot share more details as I want to keep the user's information secret, but this is the prompt the person receives when he/she tries to change the delegate: uh-oh

Unfortunately the prompt is not very informative at my end. However, it might mean something at the dev's end?

The user has tried TezBox Desktop (MacOS) and TexBox Browser I have tried as well and was not able to replicate the error...

Any ideas?

awasunyin commented 5 years ago

Update:

Found the issue with the account. The user had created the delegation with a different client, which set the parameter "Delegatable" to False or simply used the default.

screenshot 2018-11-10 at 15 03 39

Maybe TezBox could handle these special cases and when detecting a KT1 with this parameter, add the --delegatable flag by default when trying to generate a new transaction or change the delegation.

It might affect only to few users that have activated their accounts in the past using different wallets maybe or the command-line

stephenandrews commented 5 years ago

Thanks - I think that makes sense to add it as a UI. We can validate the delegate (to ensure the KT1 in question is delegateable and the delegate is registered), and provide a sensible error.

tcheeric commented 5 years ago

When can we expect a fix, please... or can I just use a different wallet to change my delegate?

stephenandrews commented 5 years ago

You are not able to change your delegation? Can you post more details (your address, which version you are using etc)