@@ -19,7 +19,7 @@ import (
19
19
"github.com/lightninglabs/loop/staticaddr/deposit"
20
20
"github.com/lightninglabs/loop/staticaddr/version"
21
21
"github.com/lightninglabs/loop/swap"
22
- looprpc "github.com/lightninglabs/loop/swapserverrpc"
22
+ "github.com/lightninglabs/loop/swapserverrpc"
23
23
"github.com/lightningnetwork/lnd/chainntnfs"
24
24
"github.com/lightningnetwork/lnd/input"
25
25
"github.com/lightningnetwork/lnd/invoices"
@@ -117,7 +117,7 @@ func (f *FSM) InitHtlcAction(ctx context.Context,
117
117
version .CurrentRPCProtocolVersion (),
118
118
)
119
119
120
- loopInReq := & looprpc .ServerStaticAddressLoopInRequest {
120
+ loopInReq := & swapserverrpc .ServerStaticAddressLoopInRequest {
121
121
SwapHash : f .loopIn .SwapHash [:],
122
122
DepositOutpoints : f .loopIn .DepositOutpoints ,
123
123
HtlcClientPubKey : f .loopIn .ClientPubkey .SerializeCompressed (),
@@ -144,7 +144,7 @@ func (f *FSM) InitHtlcAction(ctx context.Context,
144
144
// attempt.
145
145
pushEmptySigs := func () {
146
146
_ , err = f .cfg .Server .PushStaticAddressHtlcSigs (
147
- ctx , & looprpc .PushStaticAddressHtlcSigsRequest {
147
+ ctx , & swapserverrpc .PushStaticAddressHtlcSigsRequest {
148
148
SwapHash : f .loopIn .SwapHash [:],
149
149
},
150
150
)
@@ -382,17 +382,17 @@ func (f *FSM) SignHtlcTxAction(ctx context.Context,
382
382
}
383
383
384
384
// Push htlc tx sigs to server.
385
- pushHtlcReq := & looprpc .PushStaticAddressHtlcSigsRequest {
385
+ pushHtlcReq := & swapserverrpc .PushStaticAddressHtlcSigsRequest {
386
386
SwapHash : f .loopIn .SwapHash [:],
387
- StandardHtlcInfo : & looprpc .ClientHtlcSigningInfo {
387
+ StandardHtlcInfo : & swapserverrpc .ClientHtlcSigningInfo {
388
388
Nonces : clientHtlcNonces ,
389
389
Sigs : htlcSigs ,
390
390
},
391
- HighFeeHtlcInfo : & looprpc .ClientHtlcSigningInfo {
391
+ HighFeeHtlcInfo : & swapserverrpc .ClientHtlcSigningInfo {
392
392
Nonces : highFeeNonces ,
393
393
Sigs : htlcSigsHighFee ,
394
394
},
395
- ExtremeFeeHtlcInfo : & looprpc .ClientHtlcSigningInfo {
395
+ ExtremeFeeHtlcInfo : & swapserverrpc .ClientHtlcSigningInfo {
396
396
Nonces : extremelyHighNonces ,
397
397
Sigs : htlcSigsExtremelyHighFee ,
398
398
},
0 commit comments