Skip to content

Commit

Permalink
remove init function
Browse files Browse the repository at this point in the history
  • Loading branch information
Quazia committed Jan 14, 2018
1 parent 8c68db2 commit b56ec43
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions contracts/MultiSend.sol
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,6 @@ contract MultiSend is Escapable {

function MultiSend() Escapable(CALLER, DESTINATION) public {}

function init(address _escapeHatchCaller, address _escapeHatchDestination) public {
require(msg.sender == CALLER);
require(escapeHatchCaller == CALLER);
require(_escapeHatchCaller != 0);
require(_escapeHatchDestination != 0);
escapeHatchCaller = _escapeHatchCaller;
escapeHatchDestination = _escapeHatchDestination;
}

function multiTransferTightlyPacked(bytes32[] _addressAndAmount) payable public returns(bool) {
for (uint i = 0; i < _addressAndAmount.length; i++) {
_safeTransfer(address(_addressAndAmount[i] >> 96), uint(uint96(_addressAndAmount[i])));
Expand Down

0 comments on commit b56ec43

Please sign in to comment.