Removed now-incorrect comments. Resolves #38. Also see 8c62211b for where proceeds were set to the reverse of cost basis.

This commit is contained in:
scoobybejesus 2019-09-21 21:06:37 -04:00
parent 1eb62f58aa
commit b5cc8a857b
1 changed files with 2 additions and 2 deletions

View File

@ -200,11 +200,11 @@ impl Movement {
// proceeds_lk // proceeds_lk
// } // }
pub fn get_lk_gain_or_loss(&self) -> d128 { // Returns proceeds*2 for Incoming+Flow txns pub fn get_lk_gain_or_loss(&self) -> d128 {
self.proceeds_lk.get() + self.cost_basis_lk.get() self.proceeds_lk.get() + self.cost_basis_lk.get()
} }
pub fn get_orig_gain_or_loss(&self) -> d128 { // Returns proceeds*2 for Incoming+Flow txns pub fn get_orig_gain_or_loss(&self) -> d128 {
self.proceeds.get() + self.cost_basis.get() self.proceeds.get() + self.cost_basis.get()
} }