Closed vincenzopalazzo closed 4 years ago
This is weird.. The script isn't even of the right size
Hmm maybe
diff --git a/esplora.c b/esplora.c
index f3dbebf..7ced1b9 100644
--- a/esplora.c
+++ b/esplora.c
@@ -491,7 +491,7 @@ static struct command_result *getutxout(struct command *cmd, const char *buf,
response = jsonrpc_stream_success(cmd);
json_add_amount_sat_only(response, "amount", output.amount);
json_add_string(response, "script",
- tal_hexstr(response, output.script, sizeof(output.script)));
+ tal_hex(response, output.script));
return command_finished(cmd, response);
}
fixes it (the weird script len) ?
@darosior I will test the PR today and I will let know the result :-) Thanks!
I think this is fixed :dagger:
Hi @lvaccaro,
I try to using esplora plugin to work with lightningd on my desktop to test the plugin.
I run lightnind several time and I receive this error from lightnind at different points.
I will try to resproduce this bug with my personal esplora plugin version, maybe with more debug print :)