mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-20 15:44:21 +01:00
pyln: Set the bitcoin datadir when running tests
Telling `lightningd` to pass a `-datadir` to `bitcoin-cli` so it doesn't go snooping where it doesn't belong (i.e., the user's home directory and config). Changelog-None Suggested-by: Simon Vrouwe <@SimonVrouwe> Signed-off-by: Christian Decker <@cdecker>
This commit is contained in:
committed by
Rusty Russell
parent
9bfdf234f3
commit
7b752e00d5
@@ -33,5 +33,6 @@ def getchaininfo(plugin, **kwargs):
|
||||
plugin.add_option("bitcoin-rpcuser", "", "")
|
||||
plugin.add_option("bitcoin-rpcpassword", "", "")
|
||||
plugin.add_option("bitcoin-rpcport", "", "")
|
||||
plugin.add_option("bitcoin-datadir", "", "")
|
||||
|
||||
plugin.run()
|
||||
|
||||
Reference in New Issue
Block a user