-
Notifications
You must be signed in to change notification settings - Fork 1k
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
[Fix
]: try to fix account.Lock check
#3791
base: master
Are you sure you want to change the base?
Conversation
// Try to sign self-contained multiSig | ||
|
||
Contract multiSigContract = account.Contract; | ||
if (account.Lock) continue; |
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.
Maybe an exception is best here AccessDeniedException
. This would fix problems with users not knowing the reason why Sign
is returning false
. Please update the description as well.
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.
Maybe an exception is best here
AccessDeniedException
. This would fix problems with users not knowing the reason whySign
is returningfalse
. Please update the description as well.
This will lead to a lot of modifications.
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.
I have no good answer for you 😞
Should this apply to How you check is if the |
I don't know why check the script and parameters list is null or empty. :(. |
no multi-sig is used now, and |
|
Not used in signing consensus messages |
I mean if it's not used now, the change of this API has less impact on current system behaviour. |
Let just not encrypt wallet password too? |
Description
Try to fix account.Lock check issue.
Fixing this issue may require more discussion.
Especially in case of multi-sig and changes in api behavior.
Fixes #3789
Type of change
Checklist: