diff options
author | Amir Bandeali <abandeali1@gmail.com> | 2018-08-10 04:17:25 +0800 |
---|---|---|
committer | Amir Bandeali <abandeali1@gmail.com> | 2018-08-10 05:07:27 +0800 |
commit | 1b5c5e7a3ba17ca72ea700cd2a1884130e13fc98 (patch) | |
tree | 9c7a18ff6016343f0371d3700badd944d62bc343 /packages/contracts/src/2.0.0/forwarder/MixinForwarderCore.sol | |
parent | b9d8d2d5e3e7aa5f14ae2fd2019460890497bb7e (diff) | |
download | dexon-0x-contracts-1b5c5e7a3ba17ca72ea700cd2a1884130e13fc98.tar dexon-0x-contracts-1b5c5e7a3ba17ca72ea700cd2a1884130e13fc98.tar.gz dexon-0x-contracts-1b5c5e7a3ba17ca72ea700cd2a1884130e13fc98.tar.bz2 dexon-0x-contracts-1b5c5e7a3ba17ca72ea700cd2a1884130e13fc98.tar.lz dexon-0x-contracts-1b5c5e7a3ba17ca72ea700cd2a1884130e13fc98.tar.xz dexon-0x-contracts-1b5c5e7a3ba17ca72ea700cd2a1884130e13fc98.tar.zst dexon-0x-contracts-1b5c5e7a3ba17ca72ea700cd2a1884130e13fc98.zip |
Change withdrawERC20 => withdrawAsset, reuse transfer logic
Diffstat (limited to 'packages/contracts/src/2.0.0/forwarder/MixinForwarderCore.sol')
-rw-r--r-- | packages/contracts/src/2.0.0/forwarder/MixinForwarderCore.sol | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/contracts/src/2.0.0/forwarder/MixinForwarderCore.sol b/packages/contracts/src/2.0.0/forwarder/MixinForwarderCore.sol index 0d313ea91..93cbf79be 100644 --- a/packages/contracts/src/2.0.0/forwarder/MixinForwarderCore.sol +++ b/packages/contracts/src/2.0.0/forwarder/MixinForwarderCore.sol @@ -135,7 +135,7 @@ contract MixinForwarderCore is ); // Transfer purchased assets to msg.sender. - transferPurchasedAssetToSender(orders[0].makerAssetData, makerAssetAmountPurchased); + transferAssetToSender(orders[0].makerAssetData, makerAssetAmountPurchased); } /// @dev Attempt to purchase makerAssetFillAmount of makerAsset by selling ETH provided with transaction. @@ -208,6 +208,6 @@ contract MixinForwarderCore is ); // Transfer purchased assets to msg.sender. - transferPurchasedAssetToSender(orders[0].makerAssetData, makerAssetAmountPurchased); + transferAssetToSender(orders[0].makerAssetData, makerAssetAmountPurchased); } } |