Skip to content

Commit

Permalink
forge fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
capossele committed Jan 29, 2024
1 parent 9b88296 commit f19411d
Showing 1 changed file with 2 additions and 13 deletions.
15 changes: 2 additions & 13 deletions contracts/BonsaiStarter.sol
Original file line number Diff line number Diff line change
Expand Up @@ -37,19 +37,8 @@ contract EvenNumber {
}

/// @notice Function logic for processing verified journals from Bonsai.
function set(
uint256 x,
bytes32 postStateDigest,
bytes calldata seal
) public {
require(
verifier.verify(
seal,
imageId,
postStateDigest,
sha256(abi.encode(x))
)
);
function set(uint256 x, bytes32 postStateDigest, bytes calldata seal) public {
require(verifier.verify(seal, imageId, postStateDigest, sha256(abi.encode(x))));
number = x;
}

Expand Down

0 comments on commit f19411d

Please sign in to comment.