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

Added Compare and Decimals methods to coins #232

Merged
merged 3 commits into from
Sep 10, 2024

Conversation

livingroot
Copy link
Contributor

@livingroot livingroot commented Aug 14, 2024

I've added methods for coins comparison and a getter for decimals, it might be useful

@xssnick
Copy link
Owner

xssnick commented Aug 30, 2024

Hi, lets make them methods of Coins struct e.g. func (c *Coins) Decimals() int and same for Compare

@livingroot
Copy link
Contributor Author

Oh, you are right. I just copied it from my project and didn't pay attention.

@xssnick xssnick changed the base branch from master to dev-v19 September 10, 2024 08:58
@xssnick xssnick merged commit 2ef887a into xssnick:dev-v19 Sep 10, 2024
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