diff options
author | Fabio Berger <me@fabioberger.com> | 2017-06-27 01:30:09 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2017-06-27 01:30:09 +0800 |
commit | 0f413febd3cf2798a9be1149b1ef7ddd3550f7d0 (patch) | |
tree | 2a50a9069d0440a4ec6b9689700686763e4a191f /src/contract_wrappers | |
parent | 60b3f3e6dd39afe12884a17f9d978dd604a138b5 (diff) | |
download | dexon-sol-tools-0f413febd3cf2798a9be1149b1ef7ddd3550f7d0.tar dexon-sol-tools-0f413febd3cf2798a9be1149b1ef7ddd3550f7d0.tar.gz dexon-sol-tools-0f413febd3cf2798a9be1149b1ef7ddd3550f7d0.tar.bz2 dexon-sol-tools-0f413febd3cf2798a9be1149b1ef7ddd3550f7d0.tar.lz dexon-sol-tools-0f413febd3cf2798a9be1149b1ef7ddd3550f7d0.tar.xz dexon-sol-tools-0f413febd3cf2798a9be1149b1ef7ddd3550f7d0.tar.zst dexon-sol-tools-0f413febd3cf2798a9be1149b1ef7ddd3550f7d0.zip |
Fix typo
Diffstat (limited to 'src/contract_wrappers')
-rw-r--r-- | src/contract_wrappers/ether_token_wrapper.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/contract_wrappers/ether_token_wrapper.ts b/src/contract_wrappers/ether_token_wrapper.ts index e2ef0270d..e8efbc9a6 100644 --- a/src/contract_wrappers/ether_token_wrapper.ts +++ b/src/contract_wrappers/ether_token_wrapper.ts @@ -50,7 +50,7 @@ export class EtherTokenWrapper extends ContractWrapper { const wethContractAddress = await this.getContractAddressAsync(); const WETHBalanceInBaseUnits = await this._tokenWrapper.getBalanceAsync(wethContractAddress, withdrawer); - assert.assert(WETHBalanceInBaseUnits.gte(amountInWei), ZeroExError.INSUFFICIENT_WETH_BALANCE_FOR_WITHDRAWL); + assert.assert(WETHBalanceInBaseUnits.gte(amountInWei), ZeroExError.INSUFFICIENT_WETH_BALANCE_FOR_WITHDRAWAL); const wethContract = await this._getEtherTokenContractAsync(); await wethContract.withdraw(amountInWei, { |