Skip to content

Commit

Permalink
error fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Xiong-stratos committed Apr 12, 2023
1 parent 2381c29 commit 9f1fbba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x/pot/keeper/distribute.go
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,7 @@ func (k Keeper) GetTotalConsumedNoz(trafficList []types.SingleWalletVolume) sdk.
totalTraffic := sdk.ZeroInt()
for _, vol := range trafficList {
toAdd := vol.Volume
totalTraffic = totalTraffic.Add(*toAdd)
totalTraffic = totalTraffic.Add(toAdd)
}
return totalTraffic
}
Expand Down

0 comments on commit 9f1fbba

Please sign in to comment.