Skip to content

Commit

Permalink
Update contracts/v2/ShardingTable.sol
Browse files Browse the repository at this point in the history
Co-authored-by: Uladzislau Hubar <71610423+u-hubar@users.noreply.github.com>
  • Loading branch information
djordjekovac and 0xbraindevd authored Apr 11, 2024
1 parent 119b127 commit 1c17f9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contracts/v2/ShardingTable.sol
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ contract ShardingTableV2 is Named, Versioned, ContractStatus, Initializable {
_insertNode(index, identityId, uint256(profileStorage.getNodeAddress(identityId, 1)));
}

function migrateOldShardingTable(uint72 startingIdentityId, uint16 numberOfNodes) external {
function migrateOldShardingTable(uint72 startingIdentityId, uint16 numberOfNodes) external onlyHubOwner {
ShardingTableStorageV2 stsv2 = shardingTableStorage;
ShardingTableStorage stsv1 = shardingTableStorageV1;

Expand Down

0 comments on commit 1c17f9e

Please sign in to comment.