lnd: configure fmgr with PublishTransaction
This commit is contained in:
parent
2e1dcd316c
commit
e754db44d2
9
lnd.go
9
lnd.go
@ -275,10 +275,11 @@ func lndMain() error {
|
|||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
fundingMgr, err := newFundingManager(fundingConfig{
|
fundingMgr, err := newFundingManager(fundingConfig{
|
||||||
IDKey: idPrivKey.PubKey(),
|
IDKey: idPrivKey.PubKey(),
|
||||||
Wallet: activeChainControl.wallet,
|
Wallet: activeChainControl.wallet,
|
||||||
Notifier: activeChainControl.chainNotifier,
|
PublishTransaction: activeChainControl.wallet.PublishTransaction,
|
||||||
FeeEstimator: activeChainControl.feeEstimator,
|
Notifier: activeChainControl.chainNotifier,
|
||||||
|
FeeEstimator: activeChainControl.feeEstimator,
|
||||||
SignMessage: func(pubKey *btcec.PublicKey,
|
SignMessage: func(pubKey *btcec.PublicKey,
|
||||||
msg []byte) (*btcec.Signature, error) {
|
msg []byte) (*btcec.Signature, error) {
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user