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

refactor: mark ToBigIntRegular as deprecated, introduce BigInt method #290

Merged
merged 1 commit into from
Dec 20, 2022

Conversation

gbotrel
Copy link
Collaborator

@gbotrel gbotrel commented Dec 19, 2022

No description provided.

@gbotrel gbotrel merged commit 9c43dd5 into develop Dec 20, 2022
@gbotrel gbotrel deleted the feat/BigInt branch December 20, 2022 19:07
@@ -83,7 +83,15 @@ func (z *{{.ElementName}}) Text(base int) string {
{{- end}}
}

// BigInt sets and return z as a *big.Int
func (z {{.ElementName}}) BigInt(res *big.Int) *big.Int {
Copy link
Contributor

Choose a reason for hiding this comment

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

Using mixed receivers (pointer for some functions and regular for others) is discouraged. Better to explicitly copy.
#242

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.

None yet

2 participants