Closed dexX7 closed 9 years ago
Minimized and seperated from #236.
Again looks like nice simplification removing some of the code duplication. Think the 'without pending' is just a bad comment, actual code does include pending. LGTM
Updated to:
// confirmed balance minus unconfirmed, spent amounts
... but any alternative is welcomed. :)
Side note: this isn't only cosmetic, but also includes METADEX_RESERVE
which was not the case earlier, resulting in incorrect balances.
Yep, assumed this was adding in the extra reserved tally that Michael split off to avoid conflict with DEx :)
Updated wording is fine mate...
With PR #223 all regtests pass, for the first time! ;)
https://gist.githubusercontent.com/dexX7/061c73f7d4eec0a2e767/raw/