-
Notifications
You must be signed in to change notification settings - Fork 81
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
cli: update import-multisig with making --wif optional #3293
Conversation
9c265b9
to
dd3f390
Compare
dd3f390
to
ad08b68
Compare
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## master #3293 +/- ##
==========================================
- Coverage 85.21% 85.11% -0.10%
==========================================
Files 327 327
Lines 44457 44497 +40
==========================================
- Hits 37882 37874 -8
- Misses 5070 5115 +45
- Partials 1505 1508 +3 ☔ View full report in Codecov by Sentry. |
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.
Please, make PR title more descriptive.
ad08b68
to
871a7d7
Compare
871a7d7
to
8f70ea4
Compare
8f70ea4
to
3a626e4
Compare
2019c8e
to
217e2cf
Compare
217e2cf
to
0ef70eb
Compare
@roman-khimov, need your approve here. I thought about adding some |
This should be an error (currently it's not), first of all, it'd be rather surprising otherwise (I know some keys are there, but still can't import). Then some option can be added, doesn't cost a lot. |
It is an error, if no WIF specified. And if WIF is specified and multiple accounts found, then use provided WIF to decrypt-convert. |
Looks like it's a different error now. |
We have a full list of public keys in the import-multisig command, so if we have a key in the wallet that corresponds to one of these keys (simple sig), just reuse it for the account automatically Closes #3266 Signed-off-by: Ekaterina Pavlova <[email protected]>
0ef70eb
to
57aa05a
Compare
Are we OK with the updated error text? |
Made --wif optional if one of the provided public keys is already in the wallet.
Closes #3266