1
0

ln: make 'to_self_delay' CSV configurable

needed for tests
This commit is contained in:
SomberNight
2020-06-09 18:36:34 +02:00
parent fc39295d20
commit 3509343447
3 changed files with 4 additions and 5 deletions

View File

@@ -79,9 +79,10 @@ if [[ $1 == "init" ]]; then
$agent -o init_lightning
$agent setconfig --offline log_to_file True
$agent setconfig --offline server 127.0.0.1:51001:t
$agent setconfig --offline lightning_to_self_delay 144
# alice is funded, bob is listening
if [[ $2 == "bob" ]]; then
$bob setconfig --offline lightning_listen localhost:9735
$bob setconfig --offline lightning_listen localhost:9735
else
echo "funding $2"
$bitcoin_cli sendtoaddress $($agent getunusedaddress -o) 1