Skip to content

Instantly share code, notes, and snippets.

@hrkrshnn
Last active June 28, 2022 09:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hrkrshnn/c1177b487cb41b7dfda95553a022a728 to your computer and use it in GitHub Desktop.
Save hrkrshnn/c1177b487cb41b7dfda95553a022a728 to your computer and use it in GitHub Desktop.
pragma solidity ^0.8.5;
contract C {
function convert(bytes memory m) external pure returns (bytes4) {
return bytes4(m);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment