-
Notifications
You must be signed in to change notification settings - Fork 161
Conversation
Codecov Report
@@ Coverage Diff @@
## development #507 +/- ##
===============================================
+ Coverage 71.94% 72.43% +0.49%
===============================================
Files 41 41
Lines 2709 2714 +5
===============================================
+ Hits 1949 1966 +17
+ Misses 619 606 -13
- Partials 141 142 +1
Continue to review full report at Codecov.
|
case diff.IsNegative(): | ||
// Decrease coins to amount | ||
coins = coins.Sub(sdk.NewCoins(NewPhotonCoin(diff.Neg()))) | ||
coins = coins.Sub(sdk.NewCoins(sdk.NewCoin(denom, diff.Neg()))) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is the sdk.NewCoins
necessary here? the add case doesn't have it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah, idk the reason of the inconsistency on the SDK. The Add function has a spread parameter while the Sub doesn't
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
weird 🤔 okay
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah lol
Description
For contributor use:
docs/
) or specification (x/<module>/spec/
)godoc
comments.Unreleased
section inCHANGELOG.md
Files changed
in the Github PR explorerFor admin use:
WIP
,R4R
,docs
, etc)