Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

expose a shortHash property on nodes #10

Open
yoshuawuyts opened this issue Oct 18, 2017 · 0 comments
Open

expose a shortHash property on nodes #10

yoshuawuyts opened this issue Oct 18, 2017 · 0 comments

Comments

@yoshuawuyts
Copy link
Owner

yoshuawuyts commented Oct 18, 2017

In Bankai we're now doing lots of:

var hash = node.hash.hexSlice().slice(16)

This is rather repetitive and prone to errors. Doing this in buffer-graph itself might be heaps cleaner.

var shortHash = node.shortHash
var shortHash = node.hex
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant