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

fix(tokenamount): fix naming #10

Merged
merged 1 commit into from
Dec 17, 2019
Merged

fix(tokenamount): fix naming #10

merged 1 commit into from
Dec 17, 2019

Conversation

hannahhoward
Copy link
Collaborator

fix all naming in token amount file and add explanatory comments

Copy link
Contributor

@ingar ingar left a comment

Choose a reason for hiding this comment

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

👍 , some minor comments about comments..

return TokenAmount{big.NewInt(0).SetUint64(i)}
}

// FromFil creates a token amount from a who amount of filecoin
Copy link
Contributor

Choose a reason for hiding this comment

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

"a who"

}

// LessThan returns true if bi < o
func (bi TokenAmount) LessThan(o TokenAmount) bool {
return BigCmp(bi, o) < 0
func (ta TokenAmount) LessThan(o TokenAmount) bool {
Copy link
Contributor

Choose a reason for hiding this comment

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

This comment should say, ta < o, and same for the following couple of methods.

fix all naming in token amount file and add explanatory comments
@hannahhoward hannahhoward merged commit e1325dd into master Dec 17, 2019
@hannahhoward hannahhoward deleted the feat/fix-token-amount branch April 30, 2020 21:32
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