Skip to content

Hotfix: add type for recover, and some cleanups#260

Merged
jsonsivar merged 3 commits intodevelopfrom
hotfix/ch20194/add-type-vault-retr
Nov 25, 2020
Merged

Hotfix: add type for recover, and some cleanups#260
jsonsivar merged 3 commits intodevelopfrom
hotfix/ch20194/add-type-vault-retr

Conversation

@jsonsivar
Copy link
Copy Markdown
Contributor

Added the type field to the recover method and also updated the enum to be Google, Twitter, etc instead of Eth.

Copy link
Copy Markdown
Contributor

@perfectmak perfectmak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Generally looks good. I requested a change that you missed in the proto defintions.

message RecoverKeysByPassphraseRequest {
string uuid = 1;
string passphrase = 2;
KeyBackupType type = 3;
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You should also update the enum KeyBackupType definition of the proto file to contain the new fields

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch, fixed in 8f5fafc

Copy link
Copy Markdown
Contributor

@maurycy maurycy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. 🚀

Copy link
Copy Markdown
Contributor

@perfectmak perfectmak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. There are some conflicts though.

@jsonsivar jsonsivar merged commit 5b732c1 into develop Nov 25, 2020
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

Successfully merging this pull request may close these issues.

4 participants