fix: when formatting and add some methods to Project::Error

This commit is contained in:
rvcas
2022-11-05 16:23:46 -04:00
parent 14724f924c
commit 9d14acbe0a
7 changed files with 40 additions and 17 deletions

View File

@@ -9,7 +9,7 @@ pub type Redeemer {
}
pub fn spend(datum: Datum, rdmr: Redeemer, ctx: spend.ScriptContext) -> Bool {
when rdmr is {
when rdmr is {
Buy -> True
Sell -> datum.something == "Aiken"
}