Skip to content

Commit 6017ab6

Browse files
committed
lndservices: move wallet_anchor.go into the new package
1 parent 21d29ce commit 6017ab6

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

itest/utils.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ import (
2121
"github.com/lightninglabs/taproot-assets/cmd/commands"
2222
"github.com/lightninglabs/taproot-assets/commitment"
2323
"github.com/lightninglabs/taproot-assets/fn"
24+
"github.com/lightninglabs/taproot-assets/lndservices"
2425
"github.com/lightninglabs/taproot-assets/proof"
2526
"github.com/lightninglabs/taproot-assets/rpcutils"
2627
"github.com/lightninglabs/taproot-assets/tapgarden"
@@ -623,7 +624,7 @@ func ManualMintSimpleAsset(t *harnessTest, lndNode *node.HarnessNode,
623624
require.NoError(t.t, err)
624625

625626
lndServices := &lndClient.LndServices
626-
walletAnchor := taprootassets.NewLndRpcWalletAnchor(lndServices)
627+
walletAnchor := lndservices.NewLndRpcWalletAnchor(lndServices)
627628

628629
// First, create and fund a genesis TX to anchor the asset.
629630
genesisDummyScript := append(

wallet_anchor.go renamed to lndservices/wallet_anchor.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package taprootassets
1+
package lndservices
22

33
import (
44
"context"

tapcfg/server.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ func genServerConfig(cfg *Config, cfgLogger btclog.Logger,
106106
assetStore := tapdb.NewAssetStore(assetDB, metaDB, defaultClock, dbType)
107107

108108
keyRing := lndservices.NewLndRpcKeyRing(lndServices)
109-
walletAnchor := tap.NewLndRpcWalletAnchor(lndServices)
109+
walletAnchor := lndservices.NewLndRpcWalletAnchor(lndServices)
110110
chainBridge := lndservices.NewLndRpcChainBridge(lndServices, assetStore)
111111
msgTransportClient := lndservices.NewLndMsgTransportClient(lndServices)
112112
lndRouterClient := lndservices.NewLndRouterClient(lndServices)

0 commit comments

Comments
 (0)