Skip to content

Commit cb0c5cd

Browse files
committed
lndservices: move virtual_tx_signer.go into the new package
1 parent 98688b2 commit cb0c5cd

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

itest/mint_fund_seal_test.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ import (
1919
"github.com/lightninglabs/taproot-assets/asset"
2020
"github.com/lightninglabs/taproot-assets/fn"
2121
"github.com/lightninglabs/taproot-assets/internal/test"
22+
"github.com/lightninglabs/taproot-assets/lndservices"
2223
"github.com/lightninglabs/taproot-assets/proof"
2324
"github.com/lightninglabs/taproot-assets/rpcutils"
2425
"github.com/lightninglabs/taproot-assets/tappsbt"
@@ -219,7 +220,7 @@ func testMintFundSealAssets(t *harnessTest) {
219220
// Now we can construct any asset group witnesses needed. Before
220221
// performing any signing, we'll create a GenesisSigner backed by
221222
// Alice's LND node, which also derived all keypairs so far.
222-
aliceLndSigner := taprootassets.NewLndRpcVirtualTxSigner(
223+
aliceLndSigner := lndservices.NewLndRpcVirtualTxSigner(
223224
&aliceLndClient.LndServices,
224225
)
225226

virtual_tx_signer.go renamed to lndservices/virtual_tx_signer.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
@@ -393,7 +393,7 @@ func genServerConfig(cfg *Config, cfgLogger btclog.Logger,
393393
}
394394
addrBook := address.NewBook(addrBookConfig)
395395

396-
virtualTxSigner := tap.NewLndRpcVirtualTxSigner(lndServices)
396+
virtualTxSigner := lndservices.NewLndRpcVirtualTxSigner(lndServices)
397397
coinSelect := tapfreighter.NewCoinSelect(assetStore)
398398
assetWallet := tapfreighter.NewAssetWallet(&tapfreighter.WalletConfig{
399399
CoinSelector: coinSelect,

0 commit comments

Comments
 (0)