chore(cmd::new): update validator definition in generated readme

This commit is contained in:
rvcas 2023-02-20 15:51:12 -05:00
parent 97f03e5e98
commit e611d1ee7a
No known key found for this signature in database
GPG Key ID: C09B64E263F7D68C
1 changed files with 4 additions and 2 deletions

View File

@ -98,8 +98,10 @@ fn readme(root: &Path, project_name: &str) -> miette::Result<()> {
For example, as `validators/always_true.ak` For example, as `validators/always_true.ak`
```gleam ```gleam
pub fn spend(_datum: Data, _redeemer: Data, _context: Data) -> Bool {{ validator spend {{
True pub fn spend(_datum: Data, _redeemer: Data, _context: Data) -> Bool {{
True
}}
}} }}
``` ```