fixes gh-99 PullPaymentMock needed a payable constructor

pull/106/head
qdeswaef 8 years ago
parent ab93a8e3e8
commit 0e58f7b992
  1. 3
      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);
} }

Loading…
Cancel
Save