Describe the bug
forest-wallet set-default fails with Error: Key info not found when the target address is the only key in the keystore.
To reproduce
- Start with an empty local keystore(forest-wallet list shows no addresses).
- Create a new wallet address or Import a wallet.
- Try to set it as default: forest-wallet set-default t1…. and see error: Error: Key info not found.
Log output
Expected behaviour
- Set default should work even if there is only one wallet address.
Screenshots
Environment (please complete the following information):
Other information and links
Describe the bug
forest-wallet set-default fails with
Error: Key info not foundwhen the target address is the only key in the keystore.To reproduce
Log output
Expected behaviour
Screenshots
Environment (please complete the following information):
Other information and links