Skip to content

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

Open
ericdsoto wants to merge 2 commits intoCryptoKass:masterfrom
ericdsoto:master
Open

Made hash and previousHash variables private and added the correspond…#3
ericdsoto wants to merge 2 commits intoCryptoKass:masterfrom
ericdsoto:master

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