core-lightning/tests
Christian Decker d2688bbaf5 plugin: Unwrap the rpc_command payload
We were nesting like the following:

```json
{"params": {
  "rpc_command": {
    "rpc_command": {
    }
  }
}
```

This is really excessive, so we unwrap once, and now have the following:

```json
{"params": {
  "rpc_command": {
  }
}
```

Still more wrapping than necessary (the method is repeated in the `params`
object), but it's getting closer.

Changelog-Deprecated: JSON-RPC: Removed double wrapping of `rpc_command` payload in `rpc_command` JSON field.

Suggested-by: @fiatjaf
Signed-off-by: Christian Decker <@cdecker>
2020-03-10 11:42:58 +10:30
..
data pytest: test db upgrade. 2019-09-06 14:19:14 +02:00
plugins plugin: Unwrap the rpc_command payload 2020-03-10 11:42:58 +10:30
benchmark.py py-tests: rename 'announce' to 'wait_for_announce' 2018-12-08 15:15:55 -08:00
conftest.py pytest: Pass result to fixtures and keep directories of failed tests 2018-08-07 00:54:19 +00:00
db.py pytest: Have the DB provider search for the postgres binary 2019-09-22 02:03:43 +00:00
fixtures.py pyln: Allow users to override the LightningNode class 2019-11-12 21:23:55 +01:00
requirements.txt fix: pip dependency version for psycopg2-binary 2019-12-19 13:26:13 +01:00
test_closing.py lightningd: always broadcast the latest close tx 2020-03-10 11:40:19 +10:30
test_connection.py channeld: channel drain mitigation. 2020-02-11 15:34:05 +01:00
test_db.py pytest: Fix optimistic locking in valgrind - developer config 2020-01-13 08:55:32 +08:00
test_gossip.py pytest: use pyln.client for functional tests 2020-01-21 22:38:14 +01:00
test_invoices.py channeld: channel drain mitigation. 2020-02-11 15:34:05 +01:00
test_misc.py lightningd/hsm_control.c: Implement getsharedsecret. 2020-02-28 14:45:50 +10:30
test_pay.py htlc: Return an invalid payload error if payload is invalid 2020-03-04 22:57:24 +01:00
test_plugin.py tests: fix flake in libplugin test. 2020-03-04 16:42:34 +01:00
test_wallet.py txprepare: don't crash if we are passed unconfirmed utxos 2020-02-21 17:52:02 +01:00
utils.py Protocol: make var_onion, payment_secret and basic_mpp non-EXPERIMENTAL. 2019-12-12 22:16:03 +01:00