Skip to content

Commit

Permalink
Rename owner to nameOwner
Browse files Browse the repository at this point in the history
  • Loading branch information
Arachnid committed Sep 18, 2024
1 parent c5988d3 commit 446bedd
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions contracts/utils/MigrationHelper.sol
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ contract MigrationHelper is Ownable, Controllable {
}

function migrateNames(
address owner,
address nameOwner,
uint256[] memory tokenIds,
bytes memory data
) external onlyController {
Expand All @@ -36,7 +36,7 @@ contract MigrationHelper is Ownable, Controllable {

for (uint256 i = 0; i < tokenIds.length; i++) {
registrar.safeTransferFrom(
owner,
nameOwner,
migrationTarget,
tokenIds[i],
data
Expand All @@ -45,7 +45,7 @@ contract MigrationHelper is Ownable, Controllable {
}

function migrateWrappedNames(
address owner,
address nameOwner,
uint256[] memory tokenIds,
bytes memory data
) external onlyController {
Expand All @@ -58,7 +58,7 @@ contract MigrationHelper is Ownable, Controllable {
amounts[i] = 1;
}
wrapper.safeBatchTransferFrom(
owner,
nameOwner,
migrationTarget,
tokenIds,
amounts,
Expand Down

0 comments on commit 446bedd

Please sign in to comment.