Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: remove repetitive words #2219

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion contracts/BaseRewardEscrowV2.sol
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ contract BaseRewardEscrowV2 is Owned, IRewardEscrowV2, LimitedSetup(8 weeks), Mi
/**
* @notice Create an escrow entry to lock SNX for a given duration in seconds
* @dev This call expects that the depositor (msg.sender) has already approved the Reward escrow contract
to spend the the amount being escrowed.
to spend the amount being escrowed.
*/
function createEscrowEntry(
address beneficiary,
Expand Down
4 changes: 2 additions & 2 deletions contracts/CollateralManager.sol
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,7 @@ contract CollateralManager is ICollateralManager, Owned, Pausable, MixinResolver

for (uint i = 0; i < synthNamesInResolver.length; i++) {
if (_synths.contains(synthNamesInResolver[i])) {
// Remove it from the the address set lib.
// Remove it from the address set lib.
_synths.remove(synthNamesInResolver[i]);
_currencyKeys.remove(synthKeys[i]);
delete synthsByKey[synthKeys[i]];
Expand Down Expand Up @@ -462,7 +462,7 @@ contract CollateralManager is ICollateralManager, Owned, Pausable, MixinResolver
function removeShortableSynths(bytes32[] calldata synths) external onlyOwner {
for (uint i = 0; i < synths.length; i++) {
if (_shortableSynths.contains(synths[i])) {
// Remove it from the the address set lib.
// Remove it from the address set lib.
_shortableSynths.remove(synths[i]);

bytes32 synthKey = _synth(synths[i]).currencyKey();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ contract BaseRewardEscrowV2Frozen is Owned, IRewardEscrowV2Frozen, LimitedSetup(
/**
* @notice Create an escrow entry to lock SNX for a given duration in seconds
* @dev This call expects that the depositor (msg.sender) has already approved the Reward escrow contract
to spend the the amount being escrowed.
to spend the amount being escrowed.
*/
function createEscrowEntry(
address beneficiary,
Expand Down
6 changes: 3 additions & 3 deletions test/contracts/Issuer.js
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,7 @@ contract('Issuer (via Synthetix)', async accounts => {

await sETHContract.issue(account1, toUnit('1')); // 100 sUSD worth

// and since we are are bypassing the usual issuance flow here, we must cache the debt snapshot
// and since we are bypassing the usual issuance flow here, we must cache the debt snapshot
assert.bnEqual(await synthetix.totalIssuedSynths(sUSD), toUnit('0'));
await updateDebtMonitors();
});
Expand Down Expand Up @@ -491,7 +491,7 @@ contract('Issuer (via Synthetix)', async accounts => {
await sUSDContract.issue(account3, toUnit('10'));
await sUSDContract.issue(account1, toUnit('1'));

// and since we are are bypassing the usual issuance flow here, we must cache the debt snapshot
// and since we are bypassing the usual issuance flow here, we must cache the debt snapshot
assert.bnEqual(await synthetix.totalIssuedSynths(sUSD), toUnit('0'));
await updateDebtMonitors();
});
Expand Down Expand Up @@ -527,7 +527,7 @@ contract('Issuer (via Synthetix)', async accounts => {

await sETHContract.issue(account1, toUnit('1')); // 100 sUSD worth

// and since we are are bypassing the usual issuance flow here, we must cache the debt snapshot
// and since we are bypassing the usual issuance flow here, we must cache the debt snapshot
assert.bnEqual(await synthetix.totalIssuedSynths(sUSD), toUnit('0'));
await updateDebtMonitors();
});
Expand Down