Skip to content
This repository has been archived by the owner on Dec 4, 2024. It is now read-only.

Rename difficulty to totalDifficulty #201

Merged
merged 2 commits into from
Nov 8, 2021
Merged

Conversation

dbrajovic
Copy link
Contributor

@dbrajovic dbrajovic commented Nov 8, 2021

Description

Change varaible names and function calls where totalDifficulty is meant by difficulty

Changes include

  • Bugfix (non-breaking change that solves an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (change that is not backwards-compatible and/or changes current functionality)

Checklist

  • I have assigned this PR to myself
  • I have added at least 1 reviewer
  • I have tested this code
  • I have updated the README and other relevant documents (guides...)
  • I have added sufficient documentation both in code, as well as in the READMEs

Copy link
Contributor

@zivkovicmilos zivkovicmilos left a comment

Choose a reason for hiding this comment

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

Looks good 💯

Thank you for improving the readability on this 🙏

Copy link
Contributor

@Kourin1996 Kourin1996 left a comment

Choose a reason for hiding this comment

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

LGTM. It's become more clear 🤗

@lazartravica lazartravica requested a review from brkomir November 8, 2021 11:49
Copy link
Contributor

@brkomir brkomir left a comment

Choose a reason for hiding this comment

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

I have left one comment but apart form that everything looks ok to me.

blockchain/blockchain.go Outdated Show resolved Hide resolved
@dbrajovic dbrajovic merged commit ce793fa into develop Nov 8, 2021
@dbrajovic dbrajovic deleted the fix/difficulty_renaming branch November 15, 2021 12:48
@dbrajovic dbrajovic mentioned this pull request Nov 18, 2021
8 tasks
@Kourin1996 Kourin1996 mentioned this pull request Mar 23, 2022
16 tasks
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants