Skip to content
This repository was archived by the owner on May 23, 2023. It is now read-only.

Commit 145a1ce

Browse files
committed
Renames functions and contracts in reentrancy negative test.
1 parent 2b46063 commit 145a1ce

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ethereum/contracts/mock/AttackForwardIntegration.sol

+2-2
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,10 @@ contract AttackForwardIntegration is IWormholeReceiver {
3939
// The core relayer could in principle accept the request due to this being the target of the message at the same time as being the refund address.
4040
// Note that, if succesful, this forward request would be processed after the time for processing forwards is past.
4141
// Thus, the request would "linger" in the forward request cache and be attended to in the next delivery.
42-
requestForward(targetChainId, toWormholeFormat(attackerReward));
42+
forward(targetChainId, toWormholeFormat(attackerReward));
4343
}
4444

45-
function requestForward(uint16 targetChain, bytes32 attackerRewardAddress) internal {
45+
function forward(uint16 targetChain, bytes32 attackerRewardAddress) internal {
4646
uint256 maxTransactionFee =
4747
core_relayer.quoteGas(targetChain, SAFE_DELIVERY_GAS_CAPTURE, core_relayer.getDefaultRelayProvider());
4848

0 commit comments

Comments
 (0)