Rusty Russell
eb4062bb14
setchannelfee: fix crash when channel is not in valid state.
You can't fail a cmd when you've already started streaming
a successful response:
lightningd: ccan/ccan/json_out/json_out.c:343: json_out_finished: Assertion `tal_count(jout->wrapping) == 0' failed.
lightningd: FATAL SIGNAL 6 (version v0.9.2-119-gf7cdf1d)
0x1847d1 send_backtrace
common/daemon.c:38
0x184877 crashdump
common/daemon.c:51
0x5bda03f ???
???:0
0x5bd9fb7 ???
???:0
0x5bdb920 ???
???:0
0x5bcb489 ???
???:0
0x5bcb501 ???
???:0
0x1e07a8 json_out_finished
ccan/ccan/json_out/json_out.c:343
0x18db0a json_stream_double_cr
common/json_stream.c:95
0x18dbf3 json_stream_close
common/json_stream.c:117
0x12fd98 command_raw_complete
lightningd/jsonrpc.c:459
0x12fec9 command_failed
lightningd/jsonrpc.c:488
0x12ffb9 command_fail
lightningd/jsonrpc.c:503
0x14dc20 json_setchannelfee
lightningd/peer_control.c:2052
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Changelog-Fixed: JSONRPC: `setchannelfee` would fail an assertion if channel wasn't in normal state.
2020-12-21 17:10:28 -06:00
..
2020-12-15 12:05:02 +01:00
2020-09-09 19:54:20 +09:30
2020-10-23 13:53:16 +10:30
2020-09-09 12:38:19 +09:30
2020-09-23 13:52:49 +09:30
2020-09-09 12:38:19 +09:30
2020-11-06 14:47:04 -06:00
2020-10-20 12:50:31 +10:30
2020-11-06 14:47:04 -06:00
2020-11-13 14:25:02 -06:00
2020-11-06 14:47:04 -06:00
2020-11-06 14:47:04 -06:00
2019-06-04 01:29:39 +00:00
2020-09-09 19:54:20 +09:30
2020-05-12 15:46:58 +09:30
2020-09-11 21:27:45 +09:30
2020-04-03 13:13:21 +10:30
2020-12-02 14:19:08 +10:30
2020-09-09 19:54:20 +09:30
2020-09-08 09:42:00 +09:30
2019-09-25 04:01:56 +00:00
2020-05-20 11:36:13 +02:00
2020-05-07 08:44:58 +09:30
2020-08-25 12:53:13 +09:30
2020-06-11 13:13:13 +02:00
2020-05-12 15:46:58 +09:30
2020-12-11 15:51:24 +01:00
2020-10-28 12:03:14 +01:00
2020-09-08 09:42:00 +09:30
2020-12-15 12:05:02 +01:00
2020-09-08 09:42:00 +09:30
2019-07-24 16:16:53 +02:00
2019-05-31 17:57:10 +02:00
2020-09-02 09:46:37 +09:30
2020-08-11 08:39:24 +09:30
2020-12-09 06:56:21 +10:30
2020-10-23 13:53:16 +10:30
2020-11-06 14:05:44 -06:00
2020-11-23 12:13:28 -06:00
2020-08-25 12:53:13 +09:30
2019-11-18 04:50:22 +00:00
2020-12-02 16:48:48 +10:30
2019-11-18 04:50:22 +00:00
2020-12-15 12:05:02 +01:00
2020-09-23 13:52:49 +09:30
2019-02-07 20:33:50 +00:00
2020-11-06 14:47:04 -06:00
2020-11-06 14:47:04 -06:00
2020-12-15 12:05:02 +01:00
2020-11-06 14:47:04 -06:00
2020-08-25 12:53:13 +09:30
2020-12-11 15:51:24 +01:00
2020-04-02 14:32:38 +10:30
2020-12-02 14:19:08 +10:30
2020-11-07 17:18:49 +00:00
2020-11-07 17:18:49 +00:00
2020-09-17 10:12:08 +09:30
2020-12-15 09:28:56 +10:30
2019-11-23 22:42:34 +00:00
2020-12-15 12:05:02 +01:00
2020-05-04 18:56:33 +09:30
2020-12-21 17:10:28 -06:00
2020-10-20 12:50:31 +10:30
2020-12-11 15:51:24 +01:00
2020-09-23 15:51:13 +09:30
2020-08-25 12:53:13 +09:30
2018-09-14 22:11:23 +02:00
2020-12-15 09:28:56 +10:30
2020-05-05 13:45:17 +09:30
2020-11-30 10:40:11 +10:30
2020-11-09 15:22:33 -06:00
2020-12-15 09:28:56 +10:30
2020-12-15 09:28:56 +10:30
2020-09-08 19:47:11 +09:30
2020-09-08 19:47:11 +09:30
2020-08-25 12:53:13 +09:30
2020-08-31 21:33:26 -05:00
2019-11-18 04:50:22 +00:00
2020-01-02 16:56:42 +01:00
2019-06-28 03:31:43 +00:00