Skip to content

Commit 35e6aea

Browse files
jamaljsrguggero
authored andcommitted
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.
1 parent 04a95b8 commit 35e6aea

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

litclient/jsoncallbacks.go

+6
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ import (
1010
"github.com/lightninglabs/taproot-assets/taprpc"
1111
"github.com/lightninglabs/taproot-assets/taprpc/assetwalletrpc"
1212
"github.com/lightninglabs/taproot-assets/taprpc/mintrpc"
13+
"github.com/lightninglabs/taproot-assets/taprpc/priceoraclerpc"
14+
"github.com/lightninglabs/taproot-assets/taprpc/rfqrpc"
15+
"github.com/lightninglabs/taproot-assets/taprpc/tapchannelrpc"
1316
"github.com/lightninglabs/taproot-assets/taprpc/universerpc"
1417
"github.com/lightningnetwork/lnd/lnrpc"
1518
"github.com/lightningnetwork/lnd/lnrpc/autopilotrpc"
@@ -55,4 +58,7 @@ var Registrations = []StubPackageRegistration{
5558
assetwalletrpc.RegisterAssetWalletJSONCallbacks,
5659
universerpc.RegisterUniverseJSONCallbacks,
5760
mintrpc.RegisterMintJSONCallbacks,
61+
priceoraclerpc.RegisterPriceOracleJSONCallbacks,
62+
rfqrpc.RegisterRfqJSONCallbacks,
63+
tapchannelrpc.RegisterTaprootAssetChannelsJSONCallbacks,
5864
}

0 commit comments

Comments
 (0)