sweep+input: add RequiredLockTime to inputs

This commit is contained in:
Johan T. Halseth committed 2020-11-20 13:06:53 +01:00
1 parent fa4fd02cf1
commit efd6bc9501
5 files changed
+251 -17

No files matched your search

+6
View File
@@ -866,6 +866,12 @@ func (bo *breachedOutput) OutPoint() *wire.OutPoint {
return &bo.outpoint
}
// RequiredLockTime returns whether this input commits to a tx locktime that
// must be used in the transaction including it.
func (bo *breachedOutput) RequiredLockTime() (uint32, bool) {
return 0, false
}
// WitnessType returns the type of witness that must be generated to spend the
// breached output.
func (bo *breachedOutput) WitnessType() input.WitnessType {