Skip to content

Commit 6e3a4d8

Browse files
committed
staticaddr: remove unused mocks
1 parent 6e20419 commit 6e3a4d8

File tree

2 files changed

+0
-22
lines changed

2 files changed

+0
-22
lines changed

staticaddr/address/manager_test.go

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -54,17 +54,6 @@ func (m *mockStaticAddressClient) PushStaticAddressSweeplessSigs(ctx context.Con
5454
args.Error(1)
5555
}
5656

57-
func (m *mockStaticAddressClient) FetchSweeplessSweepTx(ctx context.Context,
58-
in *swapserverrpc.FetchSweeplessSweepTxRequest,
59-
opts ...grpc.CallOption) (
60-
*swapserverrpc.FetchSweeplessSweepTxResponse, error) {
61-
62-
args := m.Called(ctx, in, opts)
63-
64-
return args.Get(0).(*swapserverrpc.FetchSweeplessSweepTxResponse),
65-
args.Error(1)
66-
}
67-
6857
func (m *mockStaticAddressClient) PushStaticAddressHtlcSigs(ctx context.Context,
6958
in *swapserverrpc.PushStaticAddressHtlcSigsRequest,
7059
opts ...grpc.CallOption) (

staticaddr/deposit/manager_test.go

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -73,17 +73,6 @@ func (m *mockStaticAddressClient) PushStaticAddressSweeplessSigs(ctx context.Con
7373
args.Error(1)
7474
}
7575

76-
func (m *mockStaticAddressClient) FetchSweeplessSweepTx(ctx context.Context,
77-
in *swapserverrpc.FetchSweeplessSweepTxRequest,
78-
opts ...grpc.CallOption) (
79-
*swapserverrpc.FetchSweeplessSweepTxResponse, error) {
80-
81-
args := m.Called(ctx, in, opts)
82-
83-
return args.Get(0).(*swapserverrpc.FetchSweeplessSweepTxResponse),
84-
args.Error(1)
85-
}
86-
8776
func (m *mockStaticAddressClient) PushStaticAddressHtlcSigs(ctx context.Context,
8877
in *swapserverrpc.PushStaticAddressHtlcSigsRequest,
8978
opts ...grpc.CallOption) (

0 commit comments

Comments
 (0)