coffee-tools / folgore

Universal Bitcoin backend for core lightning with BIP 157 support full based on the btcli4j Kotlin plugin! Ah, yes it is written in Rust
BSD 3-Clause "New" or "Revised" License
9 stars 5 forks source link

sendrawtx panic #11

Closed vincenzopalazzo closed 1 year ago

vincenzopalazzo commented 1 year ago

while opening a channel the plugin with esplora panic

6:29:02.905Z INFO    plugin-satoshi_plugin: cln request: {\"allowhighfees\":false,\"tx\":\"02000000000102aaf7a26d89fdcfe79e06241d3b401ad136a0fb18de8126765a823c9631f185b80000000000fdffffffb428044b19919510e7edc466183eb4637fa9f59e8f9c474e6a139838231660120100000000fdffffff0250c300000000000022002047ee865558b3f323e1efce1527ef5063d2455e472f40065d77ff9ff75b3395001d7d01000000000016001489df41c53bc52dbc9e811a3c2fb6c0ee52ed63890247304402200176baa301eaa4335dc5eaa8e85acb823cdde53c78d17830a9b916983ad4711e022021ae4e3835bda904742c8dab8b872d5a876590f35ca0be5201b872dbd8076e130121037f7dcb1b3c25e591c96a15bf6fd66c96c4b834e2eca0f60d7a8d656884a1491c02473044022026bb880d221f8a9170b3fe5d85e905c593147bfa9213bfbd9cd7dc3d3821e45702201f3bd8704924f270ea5efa786d91fc7f69aafc2cc0ae5794147b433595324d09012103fd2ce5016762daef862328822eb8331497b8cd0e0c3dcb2a5cb50bf7e0a440388b0a2500\"}
/home/vincent/Github/coffee/satoshi/target/debug/satoshi_plugin error: bad response to sendrawtransaction (bad 'result' field: Parsing '{result:': object does not have member result), response was {"error":{"code":-1,"data":null,"message":"IO error"},"id":"cli:fundchannel#117902/cln:fundchannel#104/spenderp:multifundchannel#0/cln:multifundchannel#105/spenderp:sendpsbt#8/cln:sendrawtransaction#106","jsonrpc":"2.0"}
2023-04-05T16:29:02.905Z **BROKEN** lightningd: /home/vincent/Github/coffee/satoshi/target/debug/satoshi_plugin error: bad response to sendrawtransaction (bad 'result' field: Parsing '{result:': object does not have member result), response was {"error":{"code":-1,"data":null,"message":"IO error"},"id":"cli:fundchannel#117902/cln:fundchannel#104/spenderp:multifundchannel#0/cln:multifundchannel#105/spenderp:sendpsbt#8/cln:sendrawtransaction#106","jsonrpc":"2.0"}
lightningd: FATAL SIGNAL 6 (version v23.02.2-42-gc843bbd-modded)
0x5638ee30b1b3 send_backtrace
vincenzopalazzo commented 1 year ago

More info 2023-04-05T16:50:44.062Z DEBUG plugin-satoshi_plugin: the transaction deserialised is Err(Io(Error { kind: UnexpectedEof, message: \"failed to fill whole buffer\" }))