Replaced protocolFeePaid -> protocolFeeAmount. Changed some wording in comments.

This commit is contained in:
Greg Hysen
2019-10-24 13:43:19 -07:00
parent 06715201a7
commit cc7452da8f
5 changed files with 24 additions and 24 deletions

View File

@@ -24,7 +24,7 @@ interface TestLog {
export class CumulativeRewardTrackingSimulation {
private readonly _amountToStake = toBaseUnitAmount(100);
private readonly _protocolFeeAmount = new BigNumber(10);
private readonly _protocolFee = new BigNumber(10);
private readonly _stakingApiWrapper: StakingApiWrapper;
private readonly _staker: string;
private readonly _poolOperator: string;
@@ -141,8 +141,8 @@ export class CumulativeRewardTrackingSimulation {
receipt = await this._stakingApiWrapper.stakingContract.payProtocolFee.awaitTransactionSuccessAsync(
this._poolOperator,
this._takerAddress,
this._protocolFeeAmount,
{ from: this._exchangeAddress, value: this._protocolFeeAmount },
this._protocolFee,
{ from: this._exchangeAddress, value: this._protocolFee },
);
break;