Skip to content

Commit cd0a5f9

Browse files
committed
swap: extend swap to be able to create the V2 htlc
1 parent 9fdd531 commit cd0a5f9

File tree

3 files changed

+266
-53
lines changed

3 files changed

+266
-53
lines changed

loopin.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -756,7 +756,7 @@ func (s *loopInSwap) publishTimeoutTx(ctx context.Context,
756756
}
757757

758758
witnessFunc := func(sig []byte) (wire.TxWitness, error) {
759-
return s.htlc.GenTimeoutWitness(sig)
759+
return s.htlc.GenTimeoutWitness(sig), nil
760760
}
761761

762762
timeoutTx, err := s.sweeper.CreateSweepTx(

0 commit comments

Comments
 (0)