Merge pull request #701 from bhandras/rpc-fixup

instantout: fix swapserverrpc dependent compilation
pull/702/head
András Bánki-Horváth 3 months ago committed by GitHub
commit 8ed8274178
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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

Loading…
Cancel
Save