mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-07-12 14:12:27 +02:00
contractcourt: rename mock notifyEvent to notifyResolution
This commit is contained in:
@ -96,7 +96,7 @@ func TestHtlcIncomingResolverExitSettle(t *testing.T) {
|
||||
defer timeout(t)()
|
||||
|
||||
ctx := newIncomingResolverTestContext(t)
|
||||
ctx.registry.notifyEvent = &invoices.HtlcResolution{
|
||||
ctx.registry.notifyResolution = &invoices.HtlcResolution{
|
||||
CircuitKey: testResCircuitKey,
|
||||
Preimage: &testResPreimage,
|
||||
}
|
||||
@ -126,7 +126,7 @@ func TestHtlcIncomingResolverExitCancel(t *testing.T) {
|
||||
defer timeout(t)()
|
||||
|
||||
ctx := newIncomingResolverTestContext(t)
|
||||
ctx.registry.notifyEvent = &invoices.HtlcResolution{
|
||||
ctx.registry.notifyResolution = &invoices.HtlcResolution{
|
||||
CircuitKey: testResCircuitKey,
|
||||
}
|
||||
ctx.resolve()
|
||||
|
Reference in New Issue
Block a user