Skip to content

Commit

Permalink
Merge pull request #388 from rkedez/rpc-fix-assetwallet-rest-api
Browse files Browse the repository at this point in the history
rpc: fix AssetWallet REST API endpoints not found
  • Loading branch information
Roasbeef authored Jul 10, 2023
2 parents 7a5d5ca + 0ee3a5e commit 5370934
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions rpcserver.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ import (
"github.com/lightninglabs/taproot-assets/universe"
"github.com/lightningnetwork/lnd/build"
"github.com/lightningnetwork/lnd/keychain"
"github.com/lightningnetwork/lnd/lnrpc/walletrpc"
"github.com/lightningnetwork/lnd/signal"
"google.golang.org/grpc"
)
Expand Down Expand Up @@ -138,7 +137,7 @@ func (r *rpcServer) RegisterWithRestProxy(restCtx context.Context,
return err
}

err = walletrpc.RegisterWalletKitHandlerFromEndpoint(
err = wrpc.RegisterAssetWalletHandlerFromEndpoint(
restCtx, restMux, restProxyDest, restDialOpts,
)
if err != nil {
Expand Down

0 comments on commit 5370934

Please sign in to comment.