mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-09-27 04:56:46 +02:00
contractcourt: update makeBreachedOutput to accept resolution blob
This commit is contained in:
committed by
Oliver Gugger
parent
ded6959fd5
commit
4c16e55aca
@@ -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,
|
||||
)
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user