mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-22 00:24:19 +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:
committed by
Christian Decker
parent
2375302534
commit
91d62ad697
@@ -241,8 +241,7 @@ class BitcoinD(TailableProc):
|
|||||||
'-nolisten',
|
'-nolisten',
|
||||||
]
|
]
|
||||||
BITCOIND_CONFIG['rpcport'] = rpcport
|
BITCOIND_CONFIG['rpcport'] = rpcport
|
||||||
btc_conf_file = os.path.join(regtestdir, 'bitcoin.conf')
|
btc_conf_file = os.path.join(bitcoin_dir, 'bitcoin.conf')
|
||||||
write_config(os.path.join(bitcoin_dir, 'bitcoin.conf'), BITCOIND_CONFIG)
|
|
||||||
write_config(btc_conf_file, BITCOIND_CONFIG)
|
write_config(btc_conf_file, BITCOIND_CONFIG)
|
||||||
self.rpc = SimpleBitcoinProxy(btc_conf_file=btc_conf_file)
|
self.rpc = SimpleBitcoinProxy(btc_conf_file=btc_conf_file)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user