Skip to content

Commit 6a2f8ac

Browse files
chrismareemrice32
andauthored
fix(evm): N02 - Address typographical Errors in spoke pool (#831)
* WIP Signed-off-by: Chris Maree <christopher.maree@gmail.com> * Update contracts/SpokePool.sol --------- Signed-off-by: Chris Maree <christopher.maree@gmail.com> Co-authored-by: Matt Rice <matthewcrice32@gmail.com>
1 parent 3e06f77 commit 6a2f8ac

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

contracts/SpokePool.sol

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -613,7 +613,7 @@ abstract contract SpokePool is
613613
}
614614

615615
/**
616-
* @notice An overloaded version of `unsafeDepositV3` that accepts `address` types for backward compatibility. *
616+
* @notice An overloaded version of `unsafeDepositV3` that accepts `address` types for backward compatibility.
617617
* @dev This version mirrors the original `unsafeDepositV3` function, but uses `address` types for `depositor`, `recipient`,
618618
* `inputToken`, `outputToken`, and `exclusiveRelayer` for compatibility with contracts using the `address` type.
619619
*
@@ -1296,7 +1296,7 @@ abstract contract SpokePool is
12961296
/**
12971297
* @notice Returns the deposit ID for an unsafe deposit. This function is used to compute the deposit ID
12981298
* in unsafeDepositV3 and is provided as a convenience.
1299-
* @dev msgSenderand depositor are both used as inputs to allow passthrough depositors to create unique
1299+
* @dev msgSender and depositor are both used as inputs to allow passthrough depositors to create unique
13001300
* deposit hash spaces for unique depositors.
13011301
* @param msgSender The caller of the transaction used as input to produce the deposit ID.
13021302
* @param depositor The depositor address used as input to produce the deposit ID.
@@ -1501,7 +1501,7 @@ abstract contract SpokePool is
15011501
bool success = _noRevertTransfer(l2TokenAddress, refundAddresses[i], refundAmounts[i]);
15021502

15031503
// If the transfer failed then track a deferred transfer for the relayer. Given this function would
1504-
// have revered if there was insufficient balance, this will only happen if the transfer call
1504+
// have reverted if there was insufficient balance, this will only happen if the transfer call
15051505
// reverts. This will only occur if the underlying transfer method on the l2Token reverts due to
15061506
// recipient blacklisting or other related modifications to the l2Token.transfer method.
15071507
if (!success) {

0 commit comments

Comments
 (0)