Set width=18 to support NEW_START_REQUIRED status in masternodelist full (#1281)

This commit is contained in:
TheLazieR Yip 2017-01-25 18:37:45 +07:00 committed by UdjinM6
parent 5a2a9ccfd5
commit 534effaf85

View File

@ -503,7 +503,7 @@ UniValue masternodelist(const UniValue& params, bool fHelp)
obj.push_back(Pair(strOutpoint, strAddress)); obj.push_back(Pair(strOutpoint, strAddress));
} else if (strMode == "full") { } else if (strMode == "full") {
std::ostringstream streamFull; std::ostringstream streamFull;
streamFull << std::setw(15) << streamFull << std::setw(18) <<
mn.GetStatus() << " " << mn.GetStatus() << " " <<
mn.nProtocolVersion << " " << mn.nProtocolVersion << " " <<
CBitcoinAddress(mn.pubKeyCollateralAddress.GetID()).ToString() << " " << CBitcoinAddress(mn.pubKeyCollateralAddress.GetID()).ToString() << " " <<