lnwallet: save netParams within struct in constructor

This commit is contained in:
Olaoluwa Osuntokun 2017-04-23 19:12:14 -07:00
parent 453e285ac4
commit c4ea5e1e2c
No known key found for this signature in database
GPG Key ID: 9CC5B105D03521A2

@ -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
}