Skip to content

Commit

Permalink
revert
Browse files Browse the repository at this point in the history
  • Loading branch information
p0mvn committed Sep 8, 2022
1 parent 2b9424d commit 7f95372
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x/twap/logic.go
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ func computeArithmeticTwap(ctx sdk.Context, startRecord types.TwapRecord, endRec
accumDiff = endRecord.P1ArithmeticTwapAccumulator.Sub(startRecord.P1ArithmeticTwapAccumulator)
}
computed := types.AccumDiffDivDuration(accumDiff, timeDelta)
ctx.Logger().Info("computeArithmeticTwap", "accumDiff", accumDiff, "timeDelta", timeDelta, computed)
ctx.Logger().Info("computeArithmeticTwap", "accumDiff", accumDiff, "timeDelta", timeDelta, "computed", computed)

return computed, err
}

0 comments on commit 7f95372

Please sign in to comment.