mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-11-19 09:54:16 +01:00
json nit: use const for json_add_psbt
This commit is contained in:
parent
3674de9865
commit
b6a7b52a3e
@ -270,7 +270,7 @@ void json_add_tx(struct json_stream *result,
|
||||
|
||||
void json_add_psbt(struct json_stream *stream,
|
||||
const char *fieldname,
|
||||
struct wally_psbt *psbt)
|
||||
const struct wally_psbt *psbt)
|
||||
{
|
||||
const char *psbt_b64;
|
||||
psbt_b64 = psbt_to_b64(NULL, psbt);
|
||||
|
@ -157,6 +157,6 @@ void json_add_tx(struct json_stream *result,
|
||||
/* '"fieldname" : "cHNidP8BAJoCAAAAAljo..." or "cHNidP8BAJoCAAAAAljo..." if fieldname is NULL */
|
||||
void json_add_psbt(struct json_stream *stream,
|
||||
const char *fieldname,
|
||||
struct wally_psbt *psbt);
|
||||
const struct wally_psbt *psbt);
|
||||
|
||||
#endif /* LIGHTNING_COMMON_JSON_HELPERS_H */
|
||||
|
Loading…
Reference in New Issue
Block a user