Skip to content

Commit

Permalink
fixes gh-99 PullPaymentMock needed a payable constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
qdeswaef committed Dec 13, 2016
1 parent ab93a8e commit 0e58f7b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions contracts/test-helpers/PullPaymentMock.sol
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ import '../PullPayment.sol';
// mock class using PullPayment
contract PullPaymentMock is PullPayment {
// test helper function to call asyncSend

function PullPaymentMock() payable { }

function callSend(address dest, uint amount) {
asyncSend(dest, amount);
}
Expand Down

0 comments on commit 0e58f7b

Please sign in to comment.