JoinSEEDS / seeds_light_wallet

http://www.joinseeds.earth/
MIT License
42 stars 22 forks source link

Handle accounts which have two or more signing keys #1936

Closed chuck-h closed 2 weeks ago

chuck-h commented 1 year ago

Is your feature request related to a problem? Please describe. An administrative account may be shared among several empowered individuals each of whom is able to use it. This can be accomplished by using a threshold-1 multisig on the account. However LW is not able to handle this situation and sometimes hangs when switching to such an account.

Describe the solution you'd like Change LW program logic to check for multiple possible keys when switching accounts

Additional context It might be worth looking at the way Anchor or cleos handles multiple keys

chuck-h commented 1 year ago

minimum viable fix in rainbow_apk at c3c2c72467617f1

Update: this did not work with this permission setup image but did work when the "2"'s were changed to "1"'s

chuck-h commented 2 weeks ago

https://github.com/JoinSEEDS/seeds_light_wallet/commit/fd4e7cf5319c73dcebb282ff0f5c8c203c7fe23b