mirror of
https://github.com/aljazceru/lightning.git
synced 2026-01-06 07:34:21 +01:00
common/features: don't use internal global.
Turns out that unnecessary: all callers can access the feature_set, so make it much more like a normal primitive. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
@@ -23,6 +23,7 @@ void bitcoind_getutxout_(struct bitcoind *bitcoind UNNEEDED,
|
||||
{ fprintf(stderr, "bitcoind_getutxout_ called!\n"); abort(); }
|
||||
/* Generated stub for bolt11_decode */
|
||||
struct bolt11 *bolt11_decode(const tal_t *ctx UNNEEDED, const char *str UNNEEDED,
|
||||
const struct feature_set *fset UNNEEDED,
|
||||
const char *description UNNEEDED, char **fail UNNEEDED)
|
||||
{ fprintf(stderr, "bolt11_decode called!\n"); abort(); }
|
||||
/* Generated stub for bolt11_encode_ */
|
||||
@@ -137,9 +138,6 @@ u32 get_feerate(const struct fee_states *fee_states UNNEEDED,
|
||||
enum side funder UNNEEDED,
|
||||
enum side side UNNEEDED)
|
||||
{ fprintf(stderr, "get_feerate called!\n"); abort(); }
|
||||
/* Generated stub for get_offered_bolt11features */
|
||||
u8 *get_offered_bolt11features(const tal_t *ctx UNNEEDED)
|
||||
{ fprintf(stderr, "get_offered_bolt11features called!\n"); abort(); }
|
||||
/* Generated stub for htlc_is_trimmed */
|
||||
bool htlc_is_trimmed(enum side htlc_owner UNNEEDED,
|
||||
struct amount_msat htlc_amount UNNEEDED,
|
||||
|
||||
Reference in New Issue
Block a user