Skip to content
This repository has been archived by the owner on Sep 2, 2023. It is now read-only.

[FIX] fix "-0.00" balance (RT-3344) #2413

Merged
merged 1 commit into from
May 6, 2015

Conversation

darkdarkdragon
Copy link
Contributor

after selling all IOU balance was zero but negative,
fix that

@vhpoet
Copy link
Contributor

vhpoet commented Apr 10, 2015

effect.balance.is_zero() && effect.balance.is_negative()

is_zero and is_negative at the same time?

@darkdarkdragon
Copy link
Contributor Author

Yep. Exactly that happens when you sell all IOUs.

after selling all IOU balance was zero but negative,
fix that
@vhpoet
Copy link
Contributor

vhpoet commented May 6, 2015

LGTM

1 similar comment
@mrajvanshy
Copy link
Contributor

LGTM

mrajvanshy added a commit that referenced this pull request May 6, 2015
[FIX] fix "-0.00" balance (RT-3344)
@mrajvanshy mrajvanshy merged commit f9b93c5 into ripple:develop May 6, 2015
@darkdarkdragon darkdarkdragon deleted the develop-RT-3344 branch May 7, 2015 04:05
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants