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

remove use of buffer-reverse #478

Merged
merged 1 commit into from
Sep 27, 2015
Merged

remove use of buffer-reverse #478

merged 1 commit into from
Sep 27, 2015

Conversation

dcousens
Copy link
Contributor

No description provided.

@dcousens dcousens added this to the 2.x.y milestone Sep 27, 2015
@@ -135,7 +134,7 @@ describe('bitcoinjs-lib (crypto)', function () {

assert(bitcoin.script.isPubKeyHashInput(scriptChunks), 'Expected pubKeyHash script')

var prevOutTxId = bufferReverse(transaction.ins[input.vout].hash).toString('hex')
var prevOutTxId = Array.prototype.reverse.call(new Buffer(transaction.ins[input.vout].hash)).toString('hex')
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Only real case where it gets messy, and it was in tests anyway.

@dcousens
Copy link
Contributor Author

I guess at the time it seemed like a good idea?

dcousens added a commit that referenced this pull request Sep 27, 2015
remove use of buffer-reverse
@dcousens dcousens merged commit 85a399d into master Sep 27, 2015
@dcousens dcousens deleted the norev branch September 27, 2015 14:33
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.

3 participants