Skip to content
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

Issues with Account Names with a hyphen '-' symbol #280

Open
brianoflondon opened this issue Jan 20, 2021 · 1 comment
Open

Issues with Account Names with a hyphen '-' symbol #280

brianoflondon opened this issue Jan 20, 2021 · 1 comment

Comments

@brianoflondon
Copy link

brianoflondon commented Jan 20, 2021

I can confirm that if your account name has a hyphen - symbol in, the listaccount function doesn't work.

Example from my beempy when the keys for learn-to-code are in:

beempy listaccounts
+------+------+---------------+
| Name | Type | Available Key |
+------+------+---------------+
+------+------+---------------+

When I add my brianoflondon account:

beempy listaccounts
+---------------+---------+-------------------------------------------------------+
| Name          | Type    | Available Key                                         |
+---------------+---------+-------------------------------------------------------+
| brianoflondon | posting | STM7B1eanwUQhXa8tdabTi2RxHnXWtyMBd6iJDZ3Z2QA6rKHQY2WJ |
+---------------+---------+-------------------------------------------------------+

Just for comparison:

beempy listkeys
+-------------------------------------------------------+
| Available Key                                         |
+-------------------------------------------------------+
| STM75JYkspDgwhgG2871VGm1vhdaNgF5gFBZoPR2Por4w5WFfmzJg |
| STM6LDukivANWeaFQBpyieMov5duhWL7GyJGoLwbFGMFgFcsPWddQ |
| STM5A3F4abozDbLERcATYJ98NifPbpFjQXUep2bcY23DTuS5so7mo |
| STM7B1eanwUQhXa8tdabTi2RxHnXWtyMBd6iJDZ3Z2QA6rKHQY2WJ |
+-------------------------------------------------------+
@crokkon
Copy link
Contributor

crokkon commented Jan 22, 2021

I think this is not a beem issue:

curl -s --data '{"jsonrpc":"2.0", "method":"condenser_api.get_key_references", "params":[["STM75JYkspDgwhgG2871VGm1vhdaNgF5gFBZoPR2Por4w5WFfmzJg"]], "id":1}' https://api.hive.blog
{"jsonrpc":"2.0","result":[[]],"id":1}
curl -s --data '{"jsonrpc":"2.0", "method":"account_by_key_api.get_key_references", "params":{"keys":["STM75JYkspDgwhgG2871VGm1vhdaNgF5gFBZoPR2Por4w5WFfmzJg"]}, "id":1}' https://api.hive.blog
{"jsonrpc":"2.0","result":{"accounts":[[]]},"id":1}

The nodes don't return an account name for this key?!

edit: hive ref: https://gitlab.syncad.com/hive/hive/-/issues/113

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants