contractcourt+server: make IncubateOutputs take broadcastHeight

This commit is contained in:
Johan T. Halseth committed 2018-09-20 12:54:48 +02:00
1 parent 6d0deed885
commit 3a67fe2552
4 files changed
+12 -5

No files matched your search

+2 -1
View File
@@ -628,7 +628,8 @@ func newServer(listenAddrs []net.Addr, chanDB *channeldb.DB, cc *chainControl,
IncubateOutputs: func(chanPoint wire.OutPoint,
commitRes *lnwallet.CommitOutputResolution,
outHtlcRes *lnwallet.OutgoingHtlcResolution,
inHtlcRes *lnwallet.IncomingHtlcResolution) error {
inHtlcRes *lnwallet.IncomingHtlcResolution,
broadcastHeight uint32) error {
var (
inRes []lnwallet.IncomingHtlcResolution