lnwallet: save netParams within struct in constructor

This commit is contained in:
Olaoluwa Osuntokun committed 2017-04-23 19:12:19 -07:00
1 parent 453e285ac4
commit c4ea5e1e2c
1 file changed
+1
+1
View File
@@ -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
}