mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-06-22 06:42:40 +02:00
lnwallet/test: fix ZMQ format
This commit is contained in:
parent
783e914027
commit
d2ab35629a
@ -3259,9 +3259,15 @@ func runTests(t *testing.T, walletDriver *lnwallet.WalletDriver,
|
|||||||
case "bitcoind":
|
case "bitcoind":
|
||||||
// Start a bitcoind instance.
|
// Start a bitcoind instance.
|
||||||
tempBitcoindDir := t.TempDir()
|
tempBitcoindDir := t.TempDir()
|
||||||
zmqBlockHost := "ipc:///" + tempBitcoindDir + "/blocks.socket"
|
|
||||||
zmqTxHost := "ipc:///" + tempBitcoindDir + "/tx.socket"
|
|
||||||
rpcPort := getFreePort()
|
rpcPort := getFreePort()
|
||||||
|
zmqBlockPort := getFreePort()
|
||||||
|
zmqTxPort := getFreePort()
|
||||||
|
zmqBlockHost := fmt.Sprintf("tcp://127.0.0.1:%d",
|
||||||
|
zmqBlockPort)
|
||||||
|
zmqTxHost := fmt.Sprintf("tcp://127.0.0.1:%d",
|
||||||
|
zmqTxPort)
|
||||||
|
|
||||||
bitcoind := exec.Command(
|
bitcoind := exec.Command(
|
||||||
"bitcoind",
|
"bitcoind",
|
||||||
"-datadir="+tempBitcoindDir,
|
"-datadir="+tempBitcoindDir,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user