aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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)) {