Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions docs/release-notes/release-notes-next.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@

#### Bug Fixes

* Static Address loop-in sweep signing requests and their authenticated
responses are now processed concurrently, preventing slow connections from
delaying later responses until the server times them out. Sweep work is
bounded, and server-provided prevouts are validated before signing.

* Instant Out now attempts to cancel server-side swaps when client
initialization fails, allowing locked reservations to be released without
waiting for the server timeout.
Expand Down
9 changes: 7 additions & 2 deletions staticaddr/loopin/actions_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3324,7 +3324,12 @@ func TestUnlockDepositsActionReportsTransitionError(t *testing.T) {
// mockAddressManager is a minimal AddressManager implementation used by the
// test FSM setup.
type mockAddressManager struct {
// params contains the address parameters returned to the test.
params *script.Parameters

// staticAddress contains the derived static address returned to the
// test.
staticAddress *script.StaticAddress
}

// GetStaticAddressParameters returns the configured address parameters.
Expand All @@ -3334,11 +3339,11 @@ func (m *mockAddressManager) GetStaticAddressParameters(_ context.Context) (
return m.params, nil
}

// GetStaticAddress is unused for this test and returns nil.
// GetStaticAddress returns the configured derived static address.
func (m *mockAddressManager) GetStaticAddress(_ context.Context) (
*script.StaticAddress, error) {

return nil, nil
return m.staticAddress, nil
}

// noopDepositManager is a stub DepositManager used to satisfy FSM config.
Expand Down
Loading
Loading