Browse Source

minor mods to poex contract

Manuel Araoz 9 years ago
parent
commit
fd45473367
2 changed files with 8 additions and 2 deletions
  1. 7 2
      contracts/examples/ProofOfExistence.sol
  2. 1 0
      migrations/2_deploy_contracts.js

+ 7 - 2
contracts/examples/ProofOfExistence.sol

@@ -1,5 +1,10 @@
-// Proof of Existence contract, version 3
-contract ProofOfExistence3 {
+import "../Rejector.sol";
+
+/*
+ * Proof of Existence example contract
+ * see https://medium.com/zeppelin-blog/the-hitchhikers-guide-to-smart-contracts-in-ethereum-848f08001f05
+ */
+contract ProofOfExistence is Rejector {
 
   mapping (bytes32 => bool) proofs;
 

+ 1 - 0
migrations/2_deploy_contracts.js

@@ -1,6 +1,7 @@
 module.exports = function(deployer) {
   deployer.deploy(PullPaymentBid);
   deployer.deploy(BadArrayUse);
+  deployer.deploy(ProofOfExistence);
   deployer.deploy(Bounty);
   deployer.deploy(Ownable);
   deployer.deploy(LimitFunds);