Skip to content
This repository has been archived by the owner on Nov 2, 2018. It is now read-only.

Convert /wallet/encrypt to /wallet/init #754

Merged
merged 1 commit into from
Aug 31, 2015
Merged

Convert /wallet/encrypt to /wallet/init #754

merged 1 commit into from
Aug 31, 2015

Conversation

bitspill
Copy link
Contributor

Untested but I see no reason this shouldn't work... let me know if I did something silly.

@bitspill
Copy link
Contributor Author

Forgot to reference the issue: #752

Edit: Just noticed that was a 4 when it should have been 2 on the issue

// walletEncryptHandler handles API calls to /wallet/encrypt.
// Replaced with /wallet/init kept for compatability
Copy link
Member

Choose a reason for hiding this comment

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

first word of the docstring should be the function name.

Also, need to add a COMPAT message.

Something like this:

// walletEncryptHandler is a legacy alias for walletInitHandler.
//
// COMPATv0.4.0

@bitspill
Copy link
Contributor Author

Aye! It passes.

@bitspill
Copy link
Contributor Author

Just squashed those messy commits.

DavidVorick added a commit that referenced this pull request Aug 31, 2015
Convert /wallet/encrypt to /wallet/init
@DavidVorick DavidVorick merged commit 9a9c321 into NebulousLabs:master Aug 31, 2015
@bitspill bitspill deleted the encrypt2init branch August 31, 2015 13:20
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants