contractcourt/contract_resolvers: make second level htlcSuccessResolver wait for conf

This commit is contained in:
Johan T. Halseth committed 2018-07-22 11:20:23 +02:00
1 parent bf06dc24c1
commit b3e17aa67b
1 file changed
+1 -1
+1 -1
View File
@@ -580,7 +580,7 @@ func (h *htlcSuccessResolver) Resolve() (ContractResolver, error) {
// To wrap this up, we'll wait until the second-level transaction has
// been spent, then fully resolve the contract.
spendNtfn, err := h.Notifier.RegisterSpendNtfn(
&h.htlcResolution.ClaimOutpoint, h.broadcastHeight, true,
&h.htlcResolution.ClaimOutpoint, h.broadcastHeight, false,
)
if err != nil {
return nil, err