aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGreg Hysen <greg.hysen@gmail.com>2018-12-23 05:11:14 +0800
committerGreg Hysen <greg.hysen@gmail.com>2019-01-08 07:50:48 +0800
commit61a33688264d31be063cd11260d9f37f3774975b (patch)
treede4550faeb7e963310f394de5701e07954edc95c
parent55e3774480eda205dd14650d9b9f7511f3d03dd6 (diff)
downloaddexon-sol-tools-61a33688264d31be063cd11260d9f37f3774975b.tar
dexon-sol-tools-61a33688264d31be063cd11260d9f37f3774975b.tar.gz
dexon-sol-tools-61a33688264d31be063cd11260d9f37f3774975b.tar.bz2
dexon-sol-tools-61a33688264d31be063cd11260d9f37f3774975b.tar.lz
dexon-sol-tools-61a33688264d31be063cd11260d9f37f3774975b.tar.xz
dexon-sol-tools-61a33688264d31be063cd11260d9f37f3774975b.tar.zst
dexon-sol-tools-61a33688264d31be063cd11260d9f37f3774975b.zip
`afterAuctionDetails` -> `auctionDetails`
-rw-r--r--contracts/extensions/test/utils/dutch_auction_test_wrapper.ts4
-rw-r--r--packages/contract-wrappers/src/contract_wrappers/dutch_auction_wrapper.ts4
2 files changed, 4 insertions, 4 deletions
diff --git a/contracts/extensions/test/utils/dutch_auction_test_wrapper.ts b/contracts/extensions/test/utils/dutch_auction_test_wrapper.ts
index 4dc83a5e7..c1e2f2070 100644
--- a/contracts/extensions/test/utils/dutch_auction_test_wrapper.ts
+++ b/contracts/extensions/test/utils/dutch_auction_test_wrapper.ts
@@ -56,7 +56,7 @@ export class DutchAuctionTestWrapper {
* @return The dutch auction details.
*/
public async getAuctionDetailsAsync(sellOrder: SignedOrder): Promise<DutchAuctionDetails> {
- const afterAuctionDetails = await this._dutchAuctionContract.getAuctionDetails.callAsync(sellOrder);
- return afterAuctionDetails;
+ const auctionDetails = await this._dutchAuctionContract.getAuctionDetails.callAsync(sellOrder);
+ return auctionDetails;
}
}
diff --git a/packages/contract-wrappers/src/contract_wrappers/dutch_auction_wrapper.ts b/packages/contract-wrappers/src/contract_wrappers/dutch_auction_wrapper.ts
index cb0c10187..f9eb3c771 100644
--- a/packages/contract-wrappers/src/contract_wrappers/dutch_auction_wrapper.ts
+++ b/packages/contract-wrappers/src/contract_wrappers/dutch_auction_wrapper.ts
@@ -162,8 +162,8 @@ export class DutchAuctionWrapper extends ContractWrapper {
// get contract
const dutchAuctionInstance = await this._getDutchAuctionContractAsync();
// call contract
- const afterAuctionDetails = await dutchAuctionInstance.getAuctionDetails.callAsync(sellOrder);
- return afterAuctionDetails;
+ const auctionDetails = await dutchAuctionInstance.getAuctionDetails.callAsync(sellOrder);
+ return auctionDetails;
}
private async _getDutchAuctionContractAsync(): Promise<DutchAuctionContract> {
if (!_.isUndefined(this._dutchAuctionContractIfExists)) {