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

Made hash and previousHash variables private and added the correspond… #3

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

ericdsoto
Copy link

…ing getter methods. Improved general readability.

…ing getter methods. Improved general readability.
@ericdsoto ericdsoto closed this Feb 20, 2018
@ericdsoto ericdsoto reopened this Feb 20, 2018
@CryptoKass CryptoKass self-assigned this Mar 21, 2018
@CryptoKass
Copy link
Owner

Considering this change, though I wanted to keep the code here as similar to the article post as possible. Using private variables and getters are 100% the way to do it, However that would require larger code blocks in the article.

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