@@ -353,7 +353,7 @@ contract DAO is DAOInterface, Token, TokenCreation {
353
353
354
354
// Modifier that allows only shareholders to vote and create new proposals
355
355
modifier onlyTokenholders {
356
- if (balanceOf (msg .sender ) == 0 ) revert ();
356
+ if (balanceOf (msg .sender ) == 0x0000000000000000000000000000000000000000 ) revert ();
357
357
_;
358
358
}
359
359
@@ -380,9 +380,9 @@ contract DAO is DAOInterface, Token, TokenCreation {
380
380
proposalDeposit = _proposalDeposit;
381
381
rewardAccount = new ManagedAccount (address (this ), false );
382
382
DAOrewardAccount = new ManagedAccount (address (this ), false );
383
- if (address (rewardAccount) == 0 )
383
+ if (address (rewardAccount) == 0x0000000000000000000000000000000000000000 )
384
384
revert ();
385
- if (address (DAOrewardAccount) == 0 )
385
+ if (address (DAOrewardAccount) == 0x0000000000000000000000000000000000000000 )
386
386
revert ();
387
387
lastTimeMinQuorumMet = now ;
388
388
minQuorumDivisor = 5 ; // sets the minimal quorum to 20%
@@ -647,10 +647,10 @@ contract DAO is DAOInterface, Token, TokenCreation {
647
647
648
648
// If the new DAO doesn't exist yet, create the new DAO and store the
649
649
// current split data
650
- if (address (p.splitData[0 ].newDAO) == 0 ) {
650
+ if (address (p.splitData[0 ].newDAO) == 0x0000000000000000000000000000000000000000 ) {
651
651
p.splitData[0 ].newDAO = createNewDAO (_newCurator);
652
652
// Call depth limit reached, etc.
653
- if (address (p.splitData[0 ].newDAO) == 0 )
653
+ if (address (p.splitData[0 ].newDAO) == 0x0000000000000000000000000000000000000000 )
654
654
revert ();
655
655
// should never happen
656
656
if (this .balance < sumOfProposalDeposits)
0 commit comments