-
Notifications
You must be signed in to change notification settings - Fork 38
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
Add missing shamir recovery GUI bindings #9319
Conversation
3c7a196
to
5eeac66
Compare
…ir_recoveries_for_others
5eeac66
to
9d1450e
Compare
3d982d0
to
4d916e5
Compare
4d916e5
to
b9ae1a8
Compare
@@ -14,6 +14,8 @@ | |||
JsObject | |||
{%- elif type.kind == "list" -%} | |||
JsArray | |||
{%- elif type.kind == "set" -%} | |||
JsArray |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
suggestion: Ideally, we should be using JsSet
but that type is not exposed in neon
, that would require to do something similar to Map
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes we did consider it. But as you pointed out, the code for Map
conversion is quite tricky since it requires to use neon::reflect::eval
. Since we don't know yet whether we really need Set
representation on the JS side, we decided to stick with Array
for now and change it later if necessary.
Close #8998