Merge pull request #4434 from carlaKC/labels-general

multi: add labels to lnd native transactions
This commit is contained in:
Conner Fromknecht authored and GitHub committed 2020-08-20 12:58:04 -07:00
commit fd3f7ca6c8
13 files changed
+225 -20

No files matched your search

+5 -2
View File
@@ -982,8 +982,11 @@ func newServer(cfg *Config, listenAddrs []net.Addr,
IDKey: nodeKeyECDH.PubKey(),
Wallet: cc.wallet,
PublishTransaction: cc.wallet.PublishTransaction,
Notifier: cc.chainNotifier,
FeeEstimator: cc.feeEstimator,
UpdateLabel: func(hash chainhash.Hash, label string) error {
return cc.wallet.LabelTransaction(hash, label, true)
},
Notifier: cc.chainNotifier,
FeeEstimator: cc.feeEstimator,
SignMessage: func(pubKey *btcec.PublicKey,
msg []byte) (input.Signature, error) {