From 11595e42358e99059fbb6a00ea7881af308cb573 Mon Sep 17 00:00:00 2001 From: boyuanx Date: Mon, 16 Sep 2024 12:17:24 -0700 Subject: [PATCH] Fixed another small issue in schema hook 2 --- src/03-schema-hook-2/DataAttester.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/03-schema-hook-2/DataAttester.sol b/src/03-schema-hook-2/DataAttester.sol index 6e64760..7065f1e 100644 --- a/src/03-schema-hook-2/DataAttester.sol +++ b/src/03-schema-hook-2/DataAttester.sol @@ -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,