lnwallet/chanfunding: add new ThawHeight() method to ShimIntent+CannedAssembler

As frozen channels can only be created via the non-default channel
assembler, we extend both the ShimIntent and CannedAssembler to also
accept and expose this new channel status along with the thaw height.
This commit is contained in:
Olaoluwa Osuntokun committed 2020-03-23 16:56:57 -07:00
1 parent dbc485f724
commit 8bce48d3cc
2 files changed
+24 -6

No files matched your search

+1 -1
View File
@@ -1545,7 +1545,7 @@ func newFundingShimAssembler(chanPointShim *lnrpc.ChanPointShim,
// With all the parts assembled, we can now make the canned assembler
// to pass into the wallet.
return chanfunding.NewCannedAssembler(
*chanPoint, btcutil.Amount(chanPointShim.Amt),
0, *chanPoint, btcutil.Amount(chanPointShim.Amt),
&localKeyDesc, remoteKey, initiator,
), nil
}