Chia-Network / clvm

[Contract Language|Chia Lisp] Virtual Machine
Apache License 2.0
86 stars 35 forks source link

make to_sexp_type a free function #44

Closed arvidn closed 3 years ago

arvidn commented 3 years ago

it doesn't use anything from the SExp class so it doesn't need to be a member

richardkiss commented 3 years ago

The Program class in chia-blockchain actually subclasses SExp, so this change would break that. Never mind, it subclasses to, which is still a class method, so this is a good change. Can you rebase? And I'll merge it.

arvidn commented 3 years ago

rebased