Skip to content

Commit

Permalink
Renamed max maxInt
Browse files Browse the repository at this point in the history
  • Loading branch information
jpgoldberg committed Nov 19, 2017
1 parent 73de2a1 commit 036d553
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions proof.go
Original file line number Diff line number Diff line change
Expand Up @@ -105,3 +105,8 @@ func safeXORBytes(dst, a, b []byte) int {
}
return n
}

/**
** Copyright 2017 AgileBits, Inc.
** Licensed under the Apache License, Version 2.0 (the "License").
**/
2 changes: 1 addition & 1 deletion util.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ func NumberFromString(s string) *big.Int {

// max of two integers
// (because go doesn't give me "a > b ? a : b" )
func max(a, b int) int {
func maxInt(a, b int) int {
if a > b {
return a
}
Expand Down

0 comments on commit 036d553

Please sign in to comment.