core-lightning/common/test
niftynei 0f05238e97 psbt: set the witness script to null, also
Otherwise libwally pushes the psbt-key for 'witness script' onto the
serialized version and we fail the 'is this identical' check.

Relevant line from libwally, where if bytes, we push a psbt_key.

```
static void push_typed_varbuff(unsigned char **cursor, size_t *max,
                               uint64_t type,
                               const unsigned char *bytes, size_t bytes_len)
{
    if (bytes) {
        push_psbt_key(cursor, max, type, NULL, 0);
        push_varbuff(cursor, max, bytes, bytes_len);
    }
}
```

Reported-By: @grubles
Changelog-Fixed: openchannel_signed would fail on PSBT comparison of materially identical PSBTs
2021-09-05 14:24:14 +02:00
..
Makefile lease rates: helpers for parsing, serializing + equating lease_rates 2021-07-20 13:28:38 -04:00
onion-test-v0.json sphinx: Introduce a runtest command to the onion tool 2019-07-30 02:14:49 +00:00
run-amount.c common/amount: make fmt_amount_sat / fmt_amount_msat etc take copy. 2021-01-09 12:45:31 +01:00
run-bigsize.c bitcoin/pubkey: add pubkey32 primitive for xonly pubkey types. 2020-12-09 16:40:13 +10:30
run-bolt11.c common/bolt11_json: extract bolt11->json code. 2021-01-09 14:34:35 +10:30
run-bolt12_decode.c common/tests: these test are no longer experimental-only. 2021-08-14 12:07:57 +09:30
run-bolt12_merkle-json.c common/test: test the test vector JSON from the spec (if present). 2021-07-30 15:45:30 +09:30
run-bolt12_merkle.c common/test: Fix test vector generation. 2021-07-30 15:45:30 +09:30
run-bolt12_period.c common/test/run-bolt12_period.c: fix warnings at -O3. 2021-08-14 12:07:57 +09:30
run-cryptomsg.c bitcoin/pubkey: add pubkey32 primitive for xonly pubkey types. 2020-12-09 16:40:13 +10:30
run-derive_basepoints.c bitcoin/pubkey: add pubkey32 primitive for xonly pubkey types. 2020-12-09 16:40:13 +10:30
run-features.c bitcoin/pubkey: add pubkey32 primitive for xonly pubkey types. 2020-12-09 16:40:13 +10:30
run-gossip_rcvd_filter.c unittest: use common_setup / common_shutdown almost everywhere. 2020-12-02 12:55:09 +10:30
run-gossmap_guess_node_id.c gossmap: helper to try to map x-only nodeid into 33-byte pubkey id. 2020-12-09 16:40:13 +10:30
run-gossmap_local.c gossmap: don't spew to stderr, include counter for callers. 2021-08-24 06:42:32 +09:30
run-gossmap-fp16.c common: support transitory local map additions to gossmap. 2021-02-04 12:02:36 +10:30
run-ip_port_parsing.c Refuse to parse v2 onion addresses without deprecated_apis 2021-05-24 20:22:45 +09:30
run-json_remove.c bitcoin/pubkey: add pubkey32 primitive for xonly pubkey types. 2020-12-09 16:40:13 +10:30
run-json_scan.c common/json: make json_scan return an error string. 2021-01-07 19:32:47 +01:00
run-json.c lease rates: helpers for parsing, serializing + equating lease_rates 2021-07-20 13:28:38 -04:00
run-key_derive.c bitcoin/pubkey: add pubkey32 primitive for xonly pubkey types. 2020-12-09 16:40:13 +10:30
run-lease_rates.c lease rates: helpers for parsing, serializing + equating lease_rates 2021-07-20 13:28:38 -04:00
run-lock.c bitcoin/pubkey: add pubkey32 primitive for xonly pubkey types. 2020-12-09 16:40:13 +10:30
run-param.c jsonrpc: Add parsers for routehint-arrays 2021-07-15 12:13:06 -04:00
run-psbt_diff.c psbt: set the witness script to null, also 2021-09-05 14:24:14 +02:00
run-route-specific.c gossmap: don't spew to stderr, include counter for callers. 2021-08-24 06:42:32 +09:30
run-route.c gossmap: don't spew to stderr, include counter for callers. 2021-08-24 06:42:32 +09:30
run-softref.c bitcoin/pubkey: add pubkey32 primitive for xonly pubkey types. 2020-12-09 16:40:13 +10:30
run-sphinx-xor_cipher_stream.c tests: Update mocks after breaking them via interleaved merges 2020-12-11 21:20:35 +01:00
run-sphinx.c tlv: Allow passing some extra types to accept when parsing the stream 2021-06-26 10:55:13 +09:30
run-wireaddr.c common/test: test wireaddr parsing. 2021-06-17 11:46:48 +09:30