From 0922af13c35c510f360cb6c971806c36572491ff Mon Sep 17 00:00:00 2001 From: jamaljsr <1356600+jamaljsr@users.noreply.github.com> Date: Fri, 9 Aug 2024 08:55:39 -0500 Subject: [PATCH] litclient: add taprpc packages to `Registrations` 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. --- litclient/jsoncallbacks.go | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/litclient/jsoncallbacks.go b/litclient/jsoncallbacks.go index 2a6e4028d..d28080cb5 100644 --- a/litclient/jsoncallbacks.go +++ b/litclient/jsoncallbacks.go @@ -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" @@ -55,4 +58,7 @@ var Registrations = []StubPackageRegistration{ assetwalletrpc.RegisterAssetWalletJSONCallbacks, universerpc.RegisterUniverseJSONCallbacks, mintrpc.RegisterMintJSONCallbacks, + priceoraclerpc.RegisterPriceOracleJSONCallbacks, + rfqrpc.RegisterRfqJSONCallbacks, + tapchannelrpc.RegisterTaprootAssetChannelsJSONCallbacks, }