mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-20 15:44:21 +01:00
makesecret: change info_hex arg to simply "hex" to match datastore command.
And fix schema: it wasn't tested as there was no test-by-parameter-name. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
@@ -376,7 +376,7 @@ static const char *init(struct plugin *p,
|
||||
"{scb:%}", JSON_SCAN(json_to_scb_chan, &scb_chan));
|
||||
|
||||
rpc_scan(p, "makesecret",
|
||||
take(json_out_obj(NULL, "info_hex",
|
||||
take(json_out_obj(NULL, "hex",
|
||||
tal_hexstr(tmpctx,
|
||||
info_hex,
|
||||
tal_bytelen(info_hex)))),
|
||||
|
||||
Reference in New Issue
Block a user