Skip to content
This repository has been archived by the owner on Feb 15, 2022. It is now read-only.

Tiny Fix: Do not show currencies twice in verbose sell/buy logs #219

Merged
merged 2 commits into from
Jun 4, 2017
Merged

Tiny Fix: Do not show currencies twice in verbose sell/buy logs #219

merged 2 commits into from
Jun 4, 2017

Conversation

crubb
Copy link
Contributor

@crubb crubb commented Jun 4, 2017

No description provided.

Copy link
Owner

@DeviaVir DeviaVir left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

great catch!

@@ -77,7 +77,7 @@ module.exports = function container (get, set, clear) {
function fc (amt, omit_currency, color_trick, do_pad) {
var str
if (isFiat()) {
str = n(amt).format('0.00') + (omit_currency ? '' : ' ' + s.currency)
str = n(amt).format('0.00')
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

for those looking along, this + [..] already happens on https://github.com/crubb/zenbot/blob/4b26487f00312bd9b7ef88f207825723c99d4ab7/lib/engine.js#L96 making this duplicate.

@DeviaVir DeviaVir merged commit caf77ad into DeviaVir:master Jun 4, 2017
@crubb crubb deleted the double-currencies branch June 11, 2017 18:48
supersabbath pushed a commit to supersabbath/zenbot that referenced this pull request Oct 2, 2017
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.

2 participants