Browse Source

rename PullPaymentCapable=>PullPayment

Manuel Araoz 9 years ago
parent
commit
503faa051d
3 changed files with 9 additions and 0 deletions
  1. 0 0
      contracts/PullPayment.sol
  2. 9 0
      contracts/test-helpers/PullPaymentMock.sol
  3. 0 0
      test/PullPayment.js

+ 0 - 0
contracts/PullPaymentCapable.sol → contracts/PullPayment.sol


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

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

+ 0 - 0
test/PullPaymentCapable.js → test/PullPayment.js