Revert variant into summary output.

This commit is contained in:
XMRig 2019-02-18 08:14:42 +07:00
parent 9c088eabc2
commit de975adb8a

View file

@ -161,19 +161,19 @@ void xmrig::Pools::print() const
if (Log::colors) {
const int color = pool.isEnabled() ? (pool.isTLS() ? 32 : 36) : 31;
Log::i()->text(GREEN_BOLD(" * ") WHITE_BOLD("POOL #%-7zu") "\x1B[1;%dm%s\x1B[0m algo " WHITE_BOLD("%s"),
Log::i()->text(GREEN_BOLD(" * ") WHITE_BOLD("POOL #%-7zu") "\x1B[1;%dm%s\x1B[0m variant " WHITE_BOLD("%s"),
i,
color,
pool.url(),
pool.algorithm().shortName()
pool.algorithm().variantName()
);
}
else {
Log::i()->text(" * POOL #%-7zu%s%s algo=%s %s",
Log::i()->text(" * POOL #%-7zu%s%s variant=%s %s",
i,
pool.isEnabled() ? "" : "-",
pool.url(),
pool.algorithm().shortName(),
pool.algorithm().variantName(),
pool.isTLS() ? "TLS" : ""
);
}