mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-11-19 09:54:16 +01:00
1708fb91e5
It looked like we weren't printing the address on closing outputs.
But we are, because the 'scriptPubkey' field is in the 'outputs' db
table since 0.7.3 (66a47d2761
).
So make the logic clearer, and remove a completely bogus comment (UTXOs
with closing_info are definitely spendable!).
We export the json_add_utxos() for future use, too.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
13 lines
279 B
C
13 lines
279 B
C
#ifndef LIGHTNING_WALLET_WALLETRPC_H
|
|
#define LIGHTNING_WALLET_WALLETRPC_H
|
|
#include "config.h"
|
|
|
|
struct json_stream;
|
|
struct utxo;
|
|
|
|
void json_add_utxos(struct json_stream *response,
|
|
struct wallet *wallet,
|
|
struct utxo **utxos);
|
|
|
|
#endif /* LIGHTNING_WALLET_WALLETRPC_H */
|