mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-11-19 18:11:28 +01:00
f376a9c24c
Didn't generally fixup inside comments and the bech32 code: reformatting that is just anti-social. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
14 lines
406 B
C
14 lines
406 B
C
#ifndef LIGHTNING_COMMON_ADDR_H
|
|
#define LIGHTNING_COMMON_ADDR_H
|
|
#include "config.h"
|
|
#include <bitcoin/chainparams.h>
|
|
#include <ccan/short_types/short_types.h>
|
|
#include <ccan/tal/tal.h>
|
|
|
|
/* Given a scriptPubkey, return an encoded address */
|
|
char *encode_scriptpubkey_to_addr(const tal_t *ctx,
|
|
const struct chainparams *chainparams,
|
|
const u8 *scriptPubkey);
|
|
|
|
#endif /* LIGHTNING_COMMON_ADDR_H */
|