pactus-project / pactus-gui

Pactus Client (Flutter)
7 stars 5 forks source link

GUI wont open after added new validator address and bonded coins. #2

Open Mr-HoDL58 opened 7 months ago

Mr-HoDL58 commented 7 months ago

I made a new validator address and bonded coins to it. But when it created the validator address it did not create a paired reward address. After closing the GUI and reopening it no longer works and gives error cannot find reward address. The work around was to start the wallet in CLI and add new address which then created the reward address.

I would propose on creation of a validator address it automatically creates the paired reward address.

b00f commented 7 months ago

Generating a paired address may not be the best solution. To keep things simple, we should alert the user that one or some validators address(es) don't have the corresponding reward address(es), and therefore, they can't be instantiated.

b00f commented 7 months ago

We can consider adding an additional message when a user attempts to create a validator address. However, it's worth noting that they may generate an account address first and then proceed to create a validator address.