lnwallet: save netParams within struct in constructor
This commit is contained in:
parent
453e285ac4
commit
c4ea5e1e2c
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user