fixes gh-99 PullPaymentMock needed a payable constructor
This commit is contained in:
@ -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);
|
||||
|
||||
Reference in New Issue
Block a user