Skip to content

Commit

Permalink
litclient: add taprpc packages to Registrations
Browse files Browse the repository at this point in the history
Add the `priceoraclerpc`, `rfqrpc`, and the `tapchannelrpc` JSON
callbacks to the litclient's `Registrations` array. This allows the
litclient to use the rpc functions contained in these JSON callbacks.
  • Loading branch information
jamaljsr authored and guggero committed Oct 18, 2024
1 parent dcb2c5e commit ef8f8cf
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions litclient/jsoncallbacks.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ import (
"github.com/lightninglabs/taproot-assets/taprpc"
"github.com/lightninglabs/taproot-assets/taprpc/assetwalletrpc"
"github.com/lightninglabs/taproot-assets/taprpc/mintrpc"
"github.com/lightninglabs/taproot-assets/taprpc/priceoraclerpc"
"github.com/lightninglabs/taproot-assets/taprpc/rfqrpc"
"github.com/lightninglabs/taproot-assets/taprpc/tapchannelrpc"
"github.com/lightninglabs/taproot-assets/taprpc/universerpc"
"github.com/lightningnetwork/lnd/lnrpc"
"github.com/lightningnetwork/lnd/lnrpc/autopilotrpc"
Expand Down Expand Up @@ -55,4 +58,7 @@ var Registrations = []StubPackageRegistration{
assetwalletrpc.RegisterAssetWalletJSONCallbacks,
universerpc.RegisterUniverseJSONCallbacks,
mintrpc.RegisterMintJSONCallbacks,
priceoraclerpc.RegisterPriceOracleJSONCallbacks,
rfqrpc.RegisterRfqJSONCallbacks,
tapchannelrpc.RegisterTaprootAssetChannelsJSONCallbacks,
}

0 comments on commit ef8f8cf

Please sign in to comment.