Skip to content
This repository has been archived by the owner on Jun 7, 2019. It is now read-only.

Refactor hex checks #209

Closed
willclarktech opened this issue Jul 24, 2017 · 0 comments
Closed

Refactor hex checks #209

willclarktech opened this issue Jul 24, 2017 · 0 comments

Comments

@willclarktech
Copy link
Contributor

willclarktech commented Jul 24, 2017

Checks like this: https://github.com/LiskHQ/lisk-js/blob/development/test/transactions/crypto.js#L219-L221

new Buffer like this is deprecated, and in node v8 Buffer.from('invalid hex', 'hex') doesn't throw.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant