diff --git a/docker/README.md b/docker/README.md index 471aa3d8a..2f6ce69f1 100644 --- a/docker/README.md +++ b/docker/README.md @@ -109,6 +109,9 @@ bob$ lncli getinfo "block_hash": "7d0bc86ea4151ed3b5be908ea883d2ac3073263537bcf8ca2dca4bec22e79d50", "synced_to_chain": true, "testnet": false + "chains": [ + "bitcoin" + ] } # Get the IP address of "Bob" node: diff --git a/docker/lnd/start-lnd.sh b/docker/lnd/start-lnd.sh index ef7cad517..72492b9b6 100755 --- a/docker/lnd/start-lnd.sh +++ b/docker/lnd/start-lnd.sh @@ -47,10 +47,11 @@ BITCOIN_NETWORK=$(set_default "$BITCOIN_NETWORK" "simnet") lnd \ --datadir="/data" \ --logdir="/data" \ - "--$BITCOIN_NETWORK" \ - --btcdhost="btcd" \ --rpccert="/rpc/rpc.cert" \ - --rpcuser="$RPCUSER" \ - --rpcpass="$RPCPASS" \ + --bitcoin.active \ + "--bitcoin.$BITCOIN_NETWORK" \ + --bitcoin.rpchost="btcd" \ + --bitcoin.rpcuser="$RPCUSER" \ + --bitcoin.rpcpass="$RPCPASS" \ --debuglevel="$DEBUG" \ "$@"