truffle 2=>3
This commit is contained in:
17
test/helpers/PullPaymentMock.sol
Normal file
17
test/helpers/PullPaymentMock.sol
Normal file
@ -0,0 +1,17 @@
|
||||
pragma solidity ^0.4.4;
|
||||
|
||||
|
||||
import '../../contracts/payment/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