chore(cmd::new): update validator definition in generated readme
This commit is contained in:
parent
97f03e5e98
commit
e611d1ee7a
|
@ -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
|
||||||
|
}}
|
||||||
}}
|
}}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue