lnwallet: set OpenChannel's internal db pointer

This commit is contained in:
Olaoluwa Osuntokun 2016-03-24 00:01:17 -07:00
parent 4b16763f4d
commit 983294c444

@ -137,6 +137,7 @@ func newChannelReservation(t FundingType, fundingAmt btcutil.Amount,
OurBalance: fundingAmt, OurBalance: fundingAmt,
TheirBalance: fundingAmt, TheirBalance: fundingAmt,
MinFeePerKb: minFeeRate, MinFeePerKb: minFeeRate,
Db: wallet.channelDB,
}, },
reservationID: id, reservationID: id,
wallet: wallet, wallet: wallet,