Make tests more consistent in style

This commit is contained in:
Denton Liu
2016-08-26 13:33:42 -04:00
parent d2144b03c7
commit ff756bc94d
3 changed files with 5 additions and 8 deletions
+2 -6
View File
@@ -130,9 +130,7 @@ contract GlobalRegistrar is Registrar, AuctionSystem {
if (previousOwner != 0) {
if (!record.owner.send(auction.sumOfBids - auction.highestBid / 100))
throw;
}
else
{
} else {
if (!auction.highestBidder.send(auction.highestBid - auction.secondHighestBid))
throw;
}
@@ -147,9 +145,7 @@ contract GlobalRegistrar is Registrar, AuctionSystem {
if (now < m_toRecord[_name].renewalDate)
throw;
bid(_name, msg.sender, msg.value);
}
else
{
} else {
Record record = m_toRecord[_name];
if (record.owner != 0)
throw;