mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 15:14:23 +01:00
fix: a pr2444 introduced valgrind complaint
This will add the testnet config copyNpaste to test_utils.c, so that the test stups can set these. Alternatively, to reduce code duplication, we can move the testnet_config and mainnet_config from options.c to options.h.
This commit is contained in:
committed by
Christian Decker
parent
9a25b5dd87
commit
1853b399b0
@@ -122,6 +122,7 @@ int main(void)
|
||||
bool ok = true;
|
||||
/* Dummy for migration hooks */
|
||||
struct lightningd *ld = tal(NULL, struct lightningd);
|
||||
ld->config = test_config;
|
||||
|
||||
ok &= test_empty_db_migrate(ld);
|
||||
ok &= test_vars(ld);
|
||||
|
||||
Reference in New Issue
Block a user