1
0
Fork 0
mirror of https://github.com/lightningnetwork/lnd.git synced 2025-03-26 08:55:59 +01:00

lnd: configure fmgr with PublishTransaction

This commit is contained in:
Conner Fromknecht 2018-03-10 17:28:04 -08:00
parent 2e1dcd316c
commit e754db44d2
No known key found for this signature in database
GPG key ID: 39DE78FBE6ACB0EF

9
lnd.go
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) {