mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-01-18 21:35:11 +01:00
pytest: create only a single config file.
For some reason, we created a second bitcoin.conf in the regtest/ directory, which AFAICT nothing uses. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
parent
2375302534
commit
91d62ad697
@ -241,8 +241,7 @@ class BitcoinD(TailableProc):
|
||||
'-nolisten',
|
||||
]
|
||||
BITCOIND_CONFIG['rpcport'] = rpcport
|
||||
btc_conf_file = os.path.join(regtestdir, 'bitcoin.conf')
|
||||
write_config(os.path.join(bitcoin_dir, 'bitcoin.conf'), BITCOIND_CONFIG)
|
||||
btc_conf_file = os.path.join(bitcoin_dir, 'bitcoin.conf')
|
||||
write_config(btc_conf_file, BITCOIND_CONFIG)
|
||||
self.rpc = SimpleBitcoinProxy(btc_conf_file=btc_conf_file)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user