From cfe8c88d893eeb44f78fd588e71f213740440f06 Mon Sep 17 00:00:00 2001 From: Federico Bond Date: Thu, 13 Dec 2018 11:33:02 -0300 Subject: [PATCH] Remove unused LightningWallet.rootKey field --- lnwallet/wallet.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/lnwallet/wallet.go b/lnwallet/wallet.go index 28320d5e4..4784efeab 100644 --- a/lnwallet/wallet.go +++ b/lnwallet/wallet.go @@ -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{}