Skip to content
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

HDNode: avoid creating multiple buffers #445

Merged
merged 1 commit into from
Aug 20, 2015
Merged

HDNode: avoid creating multiple buffers #445

merged 1 commit into from
Aug 20, 2015

Conversation

dcousens
Copy link
Contributor

No description provided.

@dcousens dcousens self-assigned this Aug 20, 2015
dcousens added a commit that referenced this pull request Aug 20, 2015
HDNode: avoid creating multiple buffers
@dcousens dcousens merged commit 5846b35 into master Aug 20, 2015
@dcousens dcousens deleted the hdnodespd branch August 20, 2015 04:25
])
data[0] = 0x00
this.keyPair.d.toBuffer(32).copy(data, 1)
data.writeUInt32BE(index, 33)
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fresh eyes can be quite useful sometimes.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

No change of functionality here, only an optimization.

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.

2 participants