mirror of
https://github.com/aljazceru/lightning.git
synced 2026-01-06 15:44:21 +01:00
pytest: test Bitcoin plugin registration and the bcli plugin
This commit is contained in:
@@ -80,6 +80,9 @@ void bitcoind_check_commands(struct bitcoind *bitcoind)
|
||||
for (i = 0; i < ARRAY_SIZE(methods); i++) {
|
||||
p = find_plugin_for_command(bitcoind->ld, methods[i]);
|
||||
if (p == NULL) {
|
||||
/* For testing .. */
|
||||
log_debug(bitcoind->ld->log, "Missing a Bitcoin plugin"
|
||||
" command");
|
||||
fatal("Could not access the plugin for %s, is a "
|
||||
"Bitcoin plugin (by default plugins/bcli) "
|
||||
"registered ?", methods[i]);
|
||||
|
||||
Reference in New Issue
Block a user