bitshares / beet

Beet is a stand-alone key/identity-manager and signing app for BitShares, heavily influenced by Scatter.
MIT License
27 stars 32 forks source link

Bitcoin address method broken #273

Closed grctest closed 11 months ago

grctest commented 1 year ago

Describe the bug

You can't add a bitcoin address.

To Reproduce

Try to add bitcoin address to an existing wallet, the input field won't show.

Expected behavior

The user should be able to add a bitcoin address.

Screenshots

image

Desktop (please complete the following information):

Windows 11

Additional context

The Bitcoin address method works when first setting up a wallet, but not when you're adding to an existing wallet.

https://github.com/bitshares/beet/blob/master/src/components/add-account.vue#L297

https://github.com/bitshares/beet/blob/master/src/components/add-account.vue#L341

Change length > 1 to length > 0 to fix it.

grctest commented 1 year ago

Addressed by: https://github.com/bitshares/beet/pull/275