From c4ea5e1e2ccb26eff4583ca5a121673b17dec3b3 Mon Sep 17 00:00:00 2001 From: Olaoluwa Osuntokun Date: Sun, 23 Apr 2017 19:12:14 -0700 Subject: [PATCH] lnwallet: save netParams within struct in constructor --- lnwallet/wallet.go | 1 + 1 file changed, 1 insertion(+) diff --git a/lnwallet/wallet.go b/lnwallet/wallet.go index 207da4be..50bc8d34 100644 --- a/lnwallet/wallet.go +++ b/lnwallet/wallet.go @@ -349,6 +349,7 @@ func NewLightningWallet(cdb *channeldb.DB, notifier chainntnfs.ChainNotifier, nextFundingID: 0, fundingLimbo: make(map[uint64]*ChannelReservation), lockedOutPoints: make(map[wire.OutPoint]struct{}), + netParams: netParams, quit: make(chan struct{}), }, nil }