Browse Source

common: remove unused assert() headers.

Auditing for assert/abort in common/ code used by lightningd, this is all
that showed up.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
ppa-0.6.1
Rusty Russell 7 years ago
committed by Christian Decker
parent
commit
ac92138603
  1. 1
      common/derive_basepoints.c
  2. 1
      common/funding_tx.c
  3. 1
      lightningd/test/run-funding_tx.c

1
common/derive_basepoints.c

@ -1,4 +1,3 @@
#include <assert.h>
#include <ccan/crypto/hkdf_sha256/hkdf_sha256.h> #include <ccan/crypto/hkdf_sha256/hkdf_sha256.h>
#include <ccan/crypto/sha256/sha256.h> #include <ccan/crypto/sha256/sha256.h>
#include <ccan/crypto/shachain/shachain.h> #include <ccan/crypto/shachain/shachain.h>

1
common/funding_tx.c

@ -1,5 +1,4 @@
#include "funding_tx.h" #include "funding_tx.h"
#include <assert.h>
#include <bitcoin/pubkey.h> #include <bitcoin/pubkey.h>
#include <bitcoin/script.h> #include <bitcoin/script.h>
#include <bitcoin/tx.h> #include <bitcoin/tx.h>

1
lightningd/test/run-funding_tx.c

@ -1,3 +1,4 @@
#include <assert.h>
#include <bitcoin/address.h> #include <bitcoin/address.h>
#include <bitcoin/base58.h> #include <bitcoin/base58.h>
#include <bitcoin/privkey.h> #include <bitcoin/privkey.h>

Loading…
Cancel
Save