Skip to content

Commit

Permalink
refactor: rename tests (#207)
Browse files Browse the repository at this point in the history
  • Loading branch information
milapsheth authored Dec 4, 2023
1 parent 4d9ead6 commit 5422ce5
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contracts/InterchainTokenService.sol
Original file line number Diff line number Diff line change
Expand Up @@ -899,7 +899,7 @@ contract InterchainTokenService is
* @return data The data bytes extracted from the metadata.
*/
function _decodeMetadata(bytes calldata metadata) internal pure returns (uint32 version, bytes memory data) {
if (metadata.length < 4) return (version, data);
if (metadata.length < 4) return (LATEST_METADATA_VERSION, data);

version = uint32(bytes4(metadata[:4]));

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 5422ce5

Please sign in to comment.