Skip to content

Commit aeb2fb7

Browse files
litclient: add taprpc packages to Registrations
Add the `taprpc`, `assetwalletrpc` and the `universerpc` JSON callbacks to the litclient's `Registrations` array. This allows the litclient to use the rpc functions contained in the JSON callbacks.
1 parent a1f48ca commit aeb2fb7

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

litclient/jsoncallbacks.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ import (
77
"github.com/lightninglabs/lightning-terminal/litrpc"
88
"github.com/lightninglabs/loop/looprpc"
99
"github.com/lightninglabs/pool/poolrpc"
10+
"github.com/lightninglabs/taproot-assets/taprpc"
11+
"github.com/lightninglabs/taproot-assets/taprpc/assetwalletrpc"
12+
"github.com/lightninglabs/taproot-assets/taprpc/universerpc"
1013
"github.com/lightningnetwork/lnd/lnrpc"
1114
"github.com/lightningnetwork/lnd/lnrpc/autopilotrpc"
1215
"github.com/lightningnetwork/lnd/lnrpc/chainrpc"
@@ -46,4 +49,7 @@ var Registrations = []StubPackageRegistration{
4649
litrpc.RegisterAccountsJSONCallbacks,
4750
litrpc.RegisterAutopilotJSONCallbacks,
4851
litrpc.RegisterFirewallJSONCallbacks,
52+
taprpc.RegisterTaprootAssetsJSONCallbacks,
53+
assetwalletrpc.RegisterAssetWalletJSONCallbacks,
54+
universerpc.RegisterUniverseJSONCallbacks,
4955
}

0 commit comments

Comments
 (0)