fix: when formatting and add some methods to Project::Error
This commit is contained in:
@@ -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"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user