bitcoin: fix header order for make check-source.

It'll matter once we actually start including bitcoin/ in `make check-source`

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell 2022-06-17 21:10:44 +09:30
parent 1e9ecc55e7
commit d946de6814
2 changed files with 2 additions and 2 deletions

View File

@ -1,11 +1,11 @@
#include "config.h" #include "config.h"
#include <assert.h> #include <assert.h>
#include <bitcoin/block.h>
#include <bitcoin/chainparams.h> #include <bitcoin/chainparams.h>
#include <bitcoin/tx.h> #include <bitcoin/tx.h>
#include <ccan/mem/mem.h> #include <ccan/mem/mem.h>
#include <ccan/str/hex/hex.h> #include <ccan/str/hex/hex.h>
#include <common/type_to_string.h> #include <common/type_to_string.h>
#include <bitcoin/block.h>
/* Sets *cursor to NULL and returns NULL when a pull fails. */ /* Sets *cursor to NULL and returns NULL when a pull fails. */
static const u8 *pull(const u8 **cursor, size_t *max, void *copy, size_t n) static const u8 *pull(const u8 **cursor, size_t *max, void *copy, size_t n)

View File

@ -2,12 +2,12 @@
#include <assert.h> #include <assert.h>
#include <bitcoin/psbt.h> #include <bitcoin/psbt.h>
#include <bitcoin/script.h> #include <bitcoin/script.h>
#include <bitcoin/tx.h>
#include <ccan/str/hex/hex.h> #include <ccan/str/hex/hex.h>
#include <ccan/tal/str/str.h> #include <ccan/tal/str/str.h>
#include <common/type_to_string.h> #include <common/type_to_string.h>
#include <wally_psbt.h> #include <wally_psbt.h>
#include <wire/wire.h> #include <wire/wire.h>
#include <bitcoin/tx.h>
struct bitcoin_tx_output *new_tx_output(const tal_t *ctx, struct bitcoin_tx_output *new_tx_output(const tal_t *ctx,
struct amount_sat amount, struct amount_sat amount,