Browse Source

Merge pull request #106 from FundRequest/master

fixes gh-99 PullPaymentMock needed a payable constructor
Manuel Aráoz 8 years ago
parent
commit
e859d53b6c
1 changed files with 3 additions and 0 deletions
  1. 3 0
      contracts/test-helpers/PullPaymentMock.sol

+ 3 - 0
contracts/test-helpers/PullPaymentMock.sol

@@ -3,6 +3,9 @@ import '../PullPayment.sol';
 
 // mock class using PullPayment
 contract PullPaymentMock is PullPayment {
+
+  function PullPaymentMock() payable { }
+
   // test helper function to call asyncSend
   function callSend(address dest, uint amount) {
     asyncSend(dest, amount);