Skip to content

Commit

Permalink
chore: fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
rvcas committed Apr 9, 2024
1 parent 9e171c8 commit d9462a3
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions lib/marlowe/extensions.ak
Original file line number Diff line number Diff line change
Expand Up @@ -57,18 +57,18 @@ pub fn greater_eq_value(self: Value, other: Value) -> Bool {
|> to_dict
|> to_list
|> list.all(
fn(other_item) {
let (other_policy, other_map) = other_item
fn(other_item) {
let (other_policy, other_map) = other_item

other_map
|> to_list
|> list.all(
fn(token) {
let (token_name, token_amount) = token
other_map
|> to_list
|> list.all(
fn(token) {
let (token_name, token_amount) = token

quantity_of(self, other_policy, token_name) >= token_amount
},
)
},
)
quantity_of(self, other_policy, token_name) >= token_amount
},
)
},
)
}

0 comments on commit d9462a3

Please sign in to comment.