Skip to content

Commit

Permalink
fix: network address validation fixed (#212)
Browse files Browse the repository at this point in the history
  • Loading branch information
gcranju authored Dec 15, 2023
1 parent e29e98b commit d2995c1
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion contracts/evm/library/btp2/utils/NetworkAddress.sol
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ library NetworkAddress {
uint256 i = 0;
for (; i < _bytes.length; i++) {
if (_bytes[i] == DELIMITER[0]) {
require(i > 6 && i < (_bytes.length -1), REVERT);
return i;
}
}
Expand Down

0 comments on commit d2995c1

Please sign in to comment.