Skip to content

Commit

Permalink
Merge pull request #250 from stratosnet/err_fix
Browse files Browse the repository at this point in the history
Fix/ Compile error fix
  • Loading branch information
jinzuo-qsn authored Apr 12, 2023
2 parents 2381c29 + 9f1fbba commit 4cfe4d6
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 4cfe4d6

Please sign in to comment.