Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DLC contract setDivision & unexpected end of JSON input #484

Open
JoseMiguelHerrera opened this issue May 19, 2024 · 0 comments
Open

DLC contract setDivision & unexpected end of JSON input #484

JoseMiguelHerrera opened this issue May 19, 2024 · 0 comments

Comments

@JoseMiguelHerrera
Copy link

Hi there everyone, I'm trying to give this interesting repo a spin, trying to create some DLC's, but I keep getting stuck at the point where I have to add the division to the contract.

I'm following the "Executing a Discreet Log Contract using LIT-AF" tutorial, and when I get to

dlc contract setdivision 1 20000 10000
I get

entered command: dlc contract setdivision 1 20000 10000
Funding set successfully

Which looks good on lit-af, and on the lit node I get
Arguments Passed: {"CIdx":1,"ValueFullyOurs":20000,"ValueFullyTheirs":10000} which also looks good.

However, when I do a
dlc contract view 1

I get
dlc error: unexpected end of JSON input

If this was a simple error regarding console output it wouldn't matter, but I beleive that this is prevening me from continuing the tutorial, as when I do a
dlc contract offer 1 1 (the peers are connected)

The peer I sent it to gets nothing, and in fact I get an error in its lit console

2024/05/18 20:58:32.634607 [DEBUG] Got message of len 65535 from peer ln15yn83wyx8glw66hcvpnmzfdh82sudd0qr8x39x
2024/05/18 20:58:32.634660 [ERROR] Error proccessing message: no handler found for messasge of type f8

Any ideas/help?

Cheers

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

No branches or pull requests

1 participant