mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-02-23 06:35:07 +01:00
lnwallet: save netParams within struct in constructor
This commit is contained in:
parent
453e285ac4
commit
c4ea5e1e2c
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue