Remove Developer Asserts from param.c

They now just call command_fail() and cause param() to return false.
Temporarily disabled all the run-param.c tests that redirect
asserts so CI would still pass.

Signed-off-by: Mark Beckwith <wythe@intrig.com>
This commit is contained in:
Mark Beckwith
2018-07-28 11:07:42 -05:00
committed by Christian Decker
parent 65103ac426
commit b7203b0c0c
3 changed files with 33 additions and 15 deletions

View File

@@ -15,6 +15,7 @@
* with a specific error code, and then removed.
*/
#define LIGHTNINGD -1
#define LIGHTNINGD_INTERNAL -2
/* Errors from `pay`, `sendpay`, or `waitsendpay` commands */
#define PAY_IN_PROGRESS 200