lnd: configure fmgr with PublishTransaction

This commit is contained in:
Conner Fromknecht committed 2018-03-11 13:58:41 -07:00
1 parent 2e1dcd316c
commit e754db44d2
1 file changed
+5 -4
+5 -4
View File
@@ -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) {