Skip to content

Commit

Permalink
fix linter
Browse files Browse the repository at this point in the history
  • Loading branch information
ilya-korotya committed Dec 28, 2023
1 parent b6fe090 commit 499afc6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions contracts/interfaces/IOnchainIssuer.sol
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,6 @@ import {W3CLib} from "../lib/W3CLib.sol";
*/
interface IOnchainIssuer {
function getCredentials(uint256 _userId) external view returns (W3CLib.Credential[] memory);

function issueCredential(uint256 _userId) external;
}
3 changes: 1 addition & 2 deletions contracts/lib/PrimitiveTypeUtils.sol
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ library PrimitiveTypeUtils {
return swapped;
}
*/

/**
* @dev reverse uint256
*/
Expand Down Expand Up @@ -145,7 +144,7 @@ library PrimitiveTypeUtils {
* @dev bytesToHex returns hex representation of bytes without '0x' prefix
*/
function bytesToHex(bytes memory data) internal pure returns (string memory) {
bytes memory hexChars = '0123456789abcdef';
bytes memory hexChars = "0123456789abcdef";
bytes memory hexString = new bytes(data.length * 2);

for (uint i = 0; i < data.length; i++) {
Expand Down

0 comments on commit 499afc6

Please sign in to comment.