refactor: use a more straightforward return value

Signed-off-by: fuyangpengqi <995764973@qq.com>
This commit is contained in:
fuyangpengqi committed 2025-02-28 17:09:56 +08:00
1 parent 8532955b35
commit 150f72414a
6 files changed
+7 -7

No files matched your search

+2 -2
View File
@@ -487,7 +487,7 @@ func (h *htlcTimeoutResolver) sweepTimeoutTx() error {
return err
}
return err
return nil
}
// resolveSecondLevelTxLegacy sends a second level timeout transaction to the
@@ -593,7 +593,7 @@ func (h *htlcTimeoutResolver) waitForConfirmedSpend(op *wire.OutPoint,
return nil, err
}
return spend, err
return spend, nil
}
// Stop signals the resolver to cancel any current resolution processes, and