Remove unused LightningWallet.rootKey field

This commit is contained in:
Federico Bond 2018-12-13 11:33:02 -03:00
parent 8c5d6842c2
commit cfe8c88d89

@ -16,7 +16,6 @@ import (
"github.com/btcsuite/btcd/txscript"
"github.com/btcsuite/btcd/wire"
"github.com/btcsuite/btcutil"
"github.com/btcsuite/btcutil/hdkeychain"
"github.com/btcsuite/btcutil/txsort"
"github.com/davecgh/go-spew/spew"
"github.com/lightningnetwork/lnd/channeldb"
@ -254,10 +253,6 @@ type LightningWallet struct {
// double spend inputs across each other.
coinSelectMtx sync.RWMutex
// rootKey is the root HD key derived from a WalletController private
// key. This rootKey is used to derive all LN specific secrets.
rootKey *hdkeychain.ExtendedKey
// All messages to the wallet are to be sent across this channel.
msgChan chan interface{}