Browse Source

fixes gh-99 PullPaymentMock needed a payable constructor

qdeswaef 8 years ago
parent
commit
0e58f7b992
1 changed files with 3 additions and 0 deletions
  1. 3 0
      contracts/test-helpers/PullPaymentMock.sol

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

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