Skip to content

Commit

Permalink
fix operator precedence in simplewallet
Browse files Browse the repository at this point in the history
  • Loading branch information
who-biz committed Jul 15, 2019
1 parent 77be530 commit cdb5cf2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/simplewallet/simplewallet.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6687,8 +6687,8 @@ bool simple_wallet::wallet_info(const std::vector<std::string> &args)
type = tr("Normal");
message_writer() << tr("Type: ") << type;
message_writer() << tr("Network type: ") << (
m_wallet->nettype() == (cryptonote::TESTNET)) ? (tr("Testnet")) :
(m_wallet->nettype() == cryptonote::STAGENET) ? (tr("Stagenet")) : (tr("Mainnet"));
m_wallet->nettype() == (cryptonote::TESTNET) ? tr("Testnet") :
(m_wallet->nettype() == cryptonote::STAGENET) ? tr("Stagenet") : tr("Mainnet"));
return true;
}
//----------------------------------------------------------------------------------------------------
Expand Down

0 comments on commit cdb5cf2

Please sign in to comment.