Fix rubixi.sol and walletlibrary.sol

pull/953/head
Nikhil Parasaram 6 years ago
parent 40d02c662a
commit 80fa123639
  1. 2
      solidity_examples/WalletLibrary.sol
  2. 2
      solidity_examples/rubixi.sol

@ -212,7 +212,7 @@ contract WalletLibrary is WalletEvents {
}
// throw unless the contract is not yet initialized.
modifier only_uninitialized { require(m_numOwners > 0); _; }
modifier only_uninitialized { require(m_numOwners == 0); _; }
// constructor - just pass on the owner array to the multiowned and
// the limit to daylimit

@ -34,7 +34,7 @@ contract Rubixi {
//Fee functions for creator
function collectAllFees() public onlyowner {
require(collectedFees == 0);
require(collectedFees > 0);
creator.transfer(collectedFees);
collectedFees = 0;
}

Loading…
Cancel
Save