Skip to content

Commit

Permalink
Merge pull request #24 from interchainio/greg/lint-fix
Browse files Browse the repository at this point in the history
Fix for lint: removed unused N definition.
  • Loading branch information
greg-szabo authored Apr 14, 2019
2 parents 210e0c2 + 2910f74 commit 62a34d9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions delegations/2-match-small/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ func main() {

// determine how much to delegate to each validator
// and collect it as a MsgDelegate
N := len(eligibleVals)
//N := len(eligibleVals)
atoms := float64(icfAtoms)
var msgs []sdk.Msg
fmt.Println("RANK, ADDRESS, NAME, STAKED, SELF-DELEGATION / GOS-WINNINGS, COMMISSION/MAX-COMMISSION, MAX-COMMISSION-CHANGE - TO-DELEGATE")
Expand Down Expand Up @@ -120,7 +120,7 @@ func main() {
}

// split it up
N = 7
N := 7
i := 0
for len(msgs) > 0 {
n := N
Expand Down

0 comments on commit 62a34d9

Please sign in to comment.