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 1c17f9e commit 12bfb13
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion contracts/v2/ShardingTable.sol
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@ contract ShardingTableV2 is Named, Versioned, ContractStatus, Initializable {
for (uint i = 0; i < nodes.length; i++) {
uint72 identityId = nodes[i].identityId;
if (!sts.nodeExists(identityId)) {
uint256 newNodeHashRingPosition = uint256(profileStorage.getNodeAddress(identityId, 1));
_insertNode(_binarySearchForIndex(newNodeHashRingPosition), identityId, newNodeHashRingPosition);
}
}
Expand Down

0 comments on commit 12bfb13

Please sign in to comment.