Skip to content
This repository has been archived by the owner on Jan 5, 2024. It is now read-only.

Issue in Chialisp Concepts - Condition Morphing page #64

Open
Ganbin opened this issue Nov 18, 2022 · 1 comment
Open

Issue in Chialisp Concepts - Condition Morphing page #64

Ganbin opened this issue Nov 18, 2022 · 1 comment

Comments

@Ganbin
Copy link

Ganbin commented Nov 18, 2022

In the chapter Currying of the Chialisp Concepts - Condition Morphing page, it say that the line

run -i include any-with-signature.clsp

Yes, the output is just 2.

But for the any-with-signature.clsp file, it returns me this:

(a (q 4 (c 4 (c 5 (c (a 6 (c 2 (c 11 ()))) ()))) 11) (c (q 50 2 (i (l 5) (q 11 (q . 2) (a 6 (c 2 (c 9 ()))) (a 6 (c 2 (c 13 ())))) (q 11 (q . 1) 5)) 1) 1))
@Ganbin
Copy link
Author

Ganbin commented Nov 18, 2022

Another issue in the page:

The coin-double only receive the INNER_PUZZLE curried, but the example say to curry: -a "0xPublicKey" -a 2

I have tried to do

cdv clsp curry coin-doubler.clsp -a "(a (q 2 (q 4 (c 4 (c 5 (c (a 6 (c 2 (c 11 ()))) ()))) 11) (c (q 50 2 (i (l 5) (q 11 (q . 2) (a 6 (c 2 (c 9 ()))) (a 6 (c 2 (c 13 ())))) (q 11 (q . 1) 5)) 1) 1)) (c (q . 0xa0940a8cfd95e614715d9783986b2219488715eb57b2841bfa2840c4d4d264d0edbe854e6cb12ae6083bee4bd007e465) 1))"

But got errors. Something is missing for me to combine those 2 puzzle together.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant