Skip to content

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

Merged
gbotrel merged 1 commit intodevelopfrom
feat/BigInt
Dec 20, 2022
Merged

refactor: mark ToBigIntRegular as deprecated, introduce BigInt method#290
gbotrel merged 1 commit intodevelopfrom
feat/BigInt

Conversation

@gbotrel
Copy link
Copy Markdown
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
}

// BigInt sets and return z as a *big.Int
func (z {{.ElementName}}) BigInt(res *big.Int) *big.Int {
Copy link
Copy Markdown
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.

2 participants