From e754db44d214b52ab485bb29e6e607be378d770d Mon Sep 17 00:00:00 2001 From: Conner Fromknecht Date: Sat, 10 Mar 2018 17:28:04 -0800 Subject: [PATCH] lnd: configure fmgr with PublishTransaction --- lnd.go | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/lnd.go b/lnd.go index 9842b77d..b2685f90 100644 --- a/lnd.go +++ b/lnd.go @@ -275,10 +275,11 @@ func lndMain() error { return err } fundingMgr, err := newFundingManager(fundingConfig{ - IDKey: idPrivKey.PubKey(), - Wallet: activeChainControl.wallet, - Notifier: activeChainControl.chainNotifier, - FeeEstimator: activeChainControl.feeEstimator, + IDKey: idPrivKey.PubKey(), + Wallet: activeChainControl.wallet, + PublishTransaction: activeChainControl.wallet.PublishTransaction, + Notifier: activeChainControl.chainNotifier, + FeeEstimator: activeChainControl.feeEstimator, SignMessage: func(pubKey *btcec.PublicKey, msg []byte) (*btcec.Signature, error) {