Skip to content

Commit

Permalink
Fixed another small issue in schema hook 2
Browse files Browse the repository at this point in the history
  • Loading branch information
boyuanx committed Sep 16, 2024
1 parent 2b5f286 commit 11595e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/03-schema-hook-2/DataAttester.sol
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ contract DataAttester is Ownable {
}

function attest(address recipient, uint256 someNumber) external onlyOwner returns (uint64) {
bytes[] memory recipients = new bytes[](2);
bytes[] memory recipients = new bytes[](1);
recipients[0] = abi.encode(recipient);
Attestation memory a = Attestation({
schemaId: schemaId,
Expand Down

0 comments on commit 11595e4

Please sign in to comment.