Skip to content

Commit

Permalink
Merge pull request #311 from kcalvinalvin/patch-7
Browse files Browse the repository at this point in the history
accumulator/pollardproof: Remove unnecessary commented out code
  • Loading branch information
adiabat authored Aug 23, 2021
2 parents 25af856 + 258c8e3 commit bd13740
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion accumulator/pollardproof.go
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ func populateOne(tree miniTree, node *polNode) int {
// that we'll be populating into. Length of polNodes MUST match all the nodes that will be populated.
//
// populate returns how many polNodes have been populated.
func populate(rows uint8, pos uint64, root *polNode, trees *[]miniTree) int { //, polNodes []*polNode) int {
func populate(rows uint8, pos uint64, root *polNode, trees *[]miniTree) int {
// If there's nothing to populate, return early
if len(*trees) <= 0 {
return 0
Expand Down

0 comments on commit bd13740

Please sign in to comment.