contractcourt: update makeBreachedOutput to accept resolution blob

This commit is contained in:
Olaoluwa Osuntokun
2024-06-23 23:32:11 -07:00
committed by Oliver Gugger
parent ded6959fd5
commit 4c16e55aca
3 changed files with 40 additions and 4 deletions

View File

@@ -1199,6 +1199,8 @@ func TestBreachCreateJusticeTx(t *testing.T) {
input.HtlcSecondLevelRevoke,
}
rBlob := fn.Some([]byte{0x01})
breachedOutputs := make([]breachedOutput, len(outputTypes))
for i, wt := range outputTypes {
// Create a fake breached output for each type, ensuring they
@@ -1217,6 +1219,7 @@ func TestBreachCreateJusticeTx(t *testing.T) {
nil,
signDesc,
1,
rBlob,
)
}