Merge pull request #701 from bhandras/rpc-fixup

instantout: fix swapserverrpc dependent compilation
This commit is contained in:
András Bánki-Horváth 2024-02-09 20:47:50 +01:00 committed by GitHub
commit 8ed8274178
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -9,7 +9,7 @@ import (
"github.com/btcsuite/btcd/btcutil"
"github.com/lightninglabs/loop/instantout/reservation"
"github.com/lightninglabs/loop/swapserverrpc"
looprpc "github.com/lightninglabs/loop/swapserverrpc"
"github.com/lightningnetwork/lnd/lntypes"
)
@ -224,7 +224,7 @@ func (m *Manager) GetInstantOutQuote(ctx context.Context,
// Get the service fee.
quoteRes, err := m.cfg.InstantOutClient.GetInstantOutQuote(
ctx, &swapserverrpc.GetInstantOutQuoteRequest{
ctx, &looprpc.GetInstantOutQuoteRequest{
Amount: uint64(amt),
},
)