Skip to content

Commit b41f6a2

Browse files
committed
multi: Switch to dcrtest package
This switches instances of the old dcrd/rpctest package to the recently released dcrtest/dcrdtest package. In the future, the dcrd/rpctest package will be removed. Additionally, it switches instances of the simnet miner to use the one provided by the dcrdtest package and removes the local implementation of the miner.
1 parent b208b55 commit b41f6a2

File tree

15 files changed

+69
-230
lines changed

15 files changed

+69
-230
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ LDFLAGS := -ldflags "-X $(FULLPKG)/build.Commit=$(COMMIT)"
3636
# and omit the DWARF symbol table (-w). Also we clear the build ID.
3737
RELEASE_LDFLAGS := $(call make_ldflags, $(RELEASE_TAGS), -s -w -buildid=)
3838

39-
DCRD_COMMIT := 0a0cc3b3bf929dcb43dad45bab57c0b39fa276ed
39+
DCRD_COMMIT := fc017ce3bb3bba23d5a599eb948c1b74ea54b4f5
4040
DCRD_META := "$(DCRD_COMMIT).from-dcrlnd"
4141
DCRD_LDFLAGS := "-X github.com/decred/dcrd/internal/version.BuildMetadata=$(DCRD_META)"
4242
DCRD_TMPDIR := $(shell mktemp -d)

chainntnfs/dcrdnotify/dcrd_test.go

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,13 @@ import (
1010
"testing"
1111

1212
"github.com/decred/dcrd/chaincfg/chainhash"
13-
"github.com/decred/dcrd/rpctest"
1413
"github.com/decred/dcrd/txscript/v4/stdaddr"
1514
"github.com/decred/dcrd/txscript/v4/stdscript"
1615
"github.com/decred/dcrd/wire"
1716
"github.com/decred/dcrlnd/chainntnfs"
1817
"github.com/decred/dcrlnd/chainscan"
1918
"github.com/decred/dcrlnd/channeldb"
20-
"github.com/decred/dcrlnd/internal/testutils"
19+
rpctest "github.com/decred/dcrtest/dcrdtest"
2120
)
2221

2322
var (
@@ -139,7 +138,7 @@ func TestHistoricalConfDetailsTxIndex(t *testing.T) {
139138

140139
// We'll now confirm this transaction and re-attempt to retrieve its
141140
// confirmation details.
142-
if _, err := testutils.AdjustedSimnetMiner(harness.Node, 1); err != nil {
141+
if _, err := rpctest.AdjustedSimnetMiner(context.Background(), harness.Node, 1); err != nil {
143142
t.Fatalf("unable to generate block: %v", err)
144143
}
145144

@@ -284,7 +283,7 @@ func TestInneficientRescan(t *testing.T) {
284283

285284
// We'll now confirm this transaction and attempt to retrieve its
286285
// confirmation details.
287-
bhs, err := testutils.AdjustedSimnetMiner(harness.Node, 1)
286+
bhs, err := rpctest.AdjustedSimnetMiner(context.Background(), harness.Node, 1)
288287
if err != nil {
289288
t.Fatalf("unable to generate block: %v", err)
290289
}
@@ -307,7 +306,7 @@ func TestInneficientRescan(t *testing.T) {
307306
prevOutputHeight := minedHeight - 1
308307

309308
// Generate a few blocks after mining to test some conditions.
310-
if _, err := testutils.AdjustedSimnetMiner(harness.Node, 20); err != nil {
309+
if _, err := rpctest.AdjustedSimnetMiner(context.Background(), harness.Node, 20); err != nil {
311310
t.Fatalf("unable to generate block: %v", err)
312311
}
313312

chainntnfs/interface_test.go

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import (
1616
"github.com/decred/dcrd/chaincfg/chainhash"
1717
"github.com/decred/dcrd/dcrutil/v4"
1818
"github.com/decred/dcrd/rpcclient/v8"
19-
"github.com/decred/dcrd/rpctest"
19+
rpctest "github.com/decred/dcrtest/dcrdtest"
2020

2121
"github.com/decred/dcrd/wire"
2222
"github.com/decred/dcrlnd/chainntnfs"
@@ -1174,7 +1174,9 @@ func testReorgConf(miner *rpctest.Harness, vw *rpctest.VotingWallet,
11741174

11751175
// Reorganize transaction out of the chain by generating a longer fork
11761176
// from the other miner. The transaction is not included in this fork.
1177-
testutils.AdjustedSimnetMiner(miner2.Node, 2)
1177+
if _, err := rpctest.AdjustedSimnetMiner(ctxb, miner2.Node, 2); err != nil {
1178+
t.Fatalf("unable to generate longer fork: %v", err)
1179+
}
11781180

11791181
// Reconnect nodes to reach consensus on the longest chain. miner2's chain
11801182
// should win and become active on miner1.
@@ -1339,7 +1341,7 @@ func testReorgSpend(miner *rpctest.Harness, vw *rpctest.VotingWallet,
13391341

13401342
// Now, with the other miner, we'll generate one more block than the
13411343
// other miner and connect them to cause a reorg.
1342-
if _, err := testutils.AdjustedSimnetMiner(miner2.Node, numBlocks+1); err != nil {
1344+
if _, err := rpctest.AdjustedSimnetMiner(ctxb, miner2.Node, numBlocks+1); err != nil {
13431345
t.Fatalf("unable to generate blocks: %v", err)
13441346
}
13451347
if err := rpctest.ConnectNode(ctxb, miner, miner2); err != nil {
@@ -1658,7 +1660,7 @@ func testCatchUpOnMissedBlocksWithReorg(miner1 *rpctest.Harness, vw *rpctest.Vot
16581660

16591661
// We generate an extra block on miner 2's chain to ensure it is the
16601662
// longer chain.
1661-
_, err = testutils.AdjustedSimnetMiner(miner2.Node, numBlocks+1)
1663+
_, err = rpctest.AdjustedSimnetMiner(ctxb, miner2.Node, numBlocks+1)
16621664
if err != nil {
16631665
t.Fatalf("unable to generate single block: %v", err)
16641666
}
@@ -1731,7 +1733,7 @@ func testCatchUpOnMissedBlocksWithReorg(miner1 *rpctest.Harness, vw *rpctest.Vot
17311733

17321734
// Generate a single block, which should trigger the notifier to rewind
17331735
// to the common ancestor and dispatch notifications from there.
1734-
_, err = testutils.AdjustedSimnetMiner(miner2.Node, 1)
1736+
_, err = rpctest.AdjustedSimnetMiner(ctxb, miner2.Node, 1)
17351737
if err != nil {
17361738
t.Fatalf("unable to generate single block: %v", err)
17371739
}
@@ -1926,7 +1928,7 @@ func TestInterfaces(t *testing.T) {
19261928

19271929
// Generate enough blocks so that the network harness can have
19281930
// funds to send to the voting wallet, Alice and Bob.
1929-
_, err = testutils.AdjustedSimnetMiner(miner.Node, 64)
1931+
_, err = rpctest.AdjustedSimnetMiner(ctxb, miner.Node, 64)
19301932
if err != nil {
19311933
t.Fatalf("unable to init chain: %v", err)
19321934
}
@@ -1940,7 +1942,7 @@ func TestInterfaces(t *testing.T) {
19401942
// are generated as fast as possible without triggering PoW difficulty
19411943
// increases.
19421944
vw.SetMiner(func(ctx context.Context, nb uint32) ([]*chainhash.Hash, error) {
1943-
return testutils.AdjustedSimnetMiner(miner.Node, nb)
1945+
return rpctest.AdjustedSimnetMiner(ctxb, miner.Node, nb)
19441946
})
19451947

19461948
vwCtx, vwCancel := context.WithCancel(ctxb)

chainntnfs/test_utils.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ import (
1616
"github.com/decred/dcrd/dcrec/secp256k1/v4"
1717
"github.com/decred/dcrd/dcrutil/v4"
1818
jsonrpctypes "github.com/decred/dcrd/rpc/jsonrpc/types/v4"
19-
"github.com/decred/dcrd/rpctest"
2019
"github.com/decred/dcrd/txscript/v4"
2120
"github.com/decred/dcrd/txscript/v4/sign"
2221
"github.com/decred/dcrd/txscript/v4/stdaddr"
2322
"github.com/decred/dcrd/wire"
2423
"github.com/decred/dcrlnd/input"
2524
"github.com/decred/dcrlnd/internal/testutils"
25+
rpctest "github.com/decred/dcrtest/dcrdtest"
2626
)
2727

2828
var (

chainscan/csdrivers/dcrwdriver_test.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ import (
1212
"github.com/decred/dcrd/chaincfg/chainhash"
1313
"github.com/decred/dcrd/chaincfg/v3"
1414
"github.com/decred/dcrd/gcs/v4"
15-
"github.com/decred/dcrd/rpctest"
1615
"github.com/decred/dcrlnd/chainscan"
1716
"github.com/decred/dcrlnd/internal/testutils"
1817
"github.com/decred/dcrlnd/lntest/wait"
18+
rpctest "github.com/decred/dcrtest/dcrdtest"
1919
)
2020

2121
var (
@@ -336,7 +336,7 @@ func testChainEventsWithReorg(t *testHarness) {
336336

337337
// Mine 3 blocks in the original miner and 6 in the temp miner.
338338
t.generate(3)
339-
_, err = testutils.AdjustedSimnetMiner(tempMiner.Node, 6)
339+
_, err = rpctest.AdjustedSimnetMiner(context.Background(), tempMiner.Node, 6)
340340
if err != nil {
341341
t.Fatal(err)
342342
}
@@ -450,7 +450,7 @@ func setupTestChain(t testutils.TB, testName string) (*rpctest.Harness, *rpctest
450450
t.Fatal(err)
451451
}
452452

453-
_, err = testutils.AdjustedSimnetMiner(miner.Node, 64)
453+
_, err = rpctest.AdjustedSimnetMiner(context.Background(), miner.Node, 64)
454454
if err != nil {
455455
t.Fatal(err)
456456
}
@@ -465,7 +465,7 @@ func setupTestChain(t testutils.TB, testName string) (*rpctest.Harness, *rpctest
465465
t.Logf("Voting wallet error: %v", err)
466466
})
467467
vw.SetMiner(func(ctx context.Context, nb uint32) ([]*chainhash.Hash, error) {
468-
return testutils.AdjustedSimnetMiner(miner.Node, nb)
468+
return rpctest.AdjustedSimnetMiner(ctx, miner.Node, nb)
469469
})
470470
if err = vw.Start(vwCtx); err != nil {
471471
t.Fatalf("unable to start voting wallet: %v", err)

go.mod

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ require (
88
github.com/Yawning/aez v0.0.0-20180408160647-ec7426b44926
99
github.com/btcsuite/btcwallet/walletdb v1.4.0
1010
github.com/davecgh/go-spew v1.1.1
11-
github.com/decred/dcrd v1.2.1-0.20221022042516-01b05fde6079
1211
github.com/decred/dcrd/addrmgr/v2 v2.0.1
1312
github.com/decred/dcrd/bech32 v1.1.2
1413
github.com/decred/dcrd/blockchain/stake/v5 v5.0.0
@@ -19,7 +18,7 @@ require (
1918
github.com/decred/dcrd/connmgr v1.1.0
2019
github.com/decred/dcrd/dcrec v1.0.0
2120
github.com/decred/dcrd/dcrec/secp256k1/v2 v2.0.0
22-
github.com/decred/dcrd/dcrec/secp256k1/v4 v4.0.1
21+
github.com/decred/dcrd/dcrec/secp256k1/v4 v4.1.0
2322
github.com/decred/dcrd/dcrjson/v4 v4.0.0
2423
github.com/decred/dcrd/dcrutil/v4 v4.0.0
2524
github.com/decred/dcrd/gcs/v3 v3.0.0
@@ -29,6 +28,7 @@ require (
2928
github.com/decred/dcrd/rpcclient/v8 v8.0.0
3029
github.com/decred/dcrd/txscript/v4 v4.0.0
3130
github.com/decred/dcrd/wire v1.5.0
31+
github.com/decred/dcrtest/dcrdtest v0.0.0-20221124143755-5c2e83fd64c9
3232
github.com/decred/lightning-onion/v4 v4.0.0
3333
github.com/decred/slog v1.2.0
3434
github.com/go-errors/errors v1.0.1
@@ -85,15 +85,20 @@ require (
8585
github.com/coreos/pkg v0.0.0-20180108230652-97fdf19511ea // indirect
8686
github.com/dchest/siphash v1.2.2 // indirect
8787
github.com/decred/base58 v1.0.4 // indirect
88+
github.com/decred/dcrd v1.2.1-0.20221123192607-fc017ce3bb3b // indirect
8889
github.com/decred/dcrd/blockchain/stake/v4 v4.0.0 // indirect
8990
github.com/decred/dcrd/certgen v1.1.1 // indirect
9091
github.com/decred/dcrd/chaincfg v1.5.2 // indirect
9192
github.com/decred/dcrd/connmgr/v3 v3.1.0 // indirect
93+
github.com/decred/dcrd/container/apbf v1.0.0 // indirect
9294
github.com/decred/dcrd/crypto/blake256 v1.0.0 // indirect
9395
github.com/decred/dcrd/crypto/ripemd160 v1.0.1 // indirect
9496
github.com/decred/dcrd/database/v3 v3.0.0 // indirect
9597
github.com/decred/dcrd/dcrec/edwards/v2 v2.0.2 // indirect
9698
github.com/decred/dcrd/lru v1.1.1 // indirect
99+
github.com/decred/dcrd/math/uint256 v1.0.0 // indirect
100+
github.com/decred/dcrd/peer/v3 v3.0.0 // indirect
101+
github.com/decred/dcrd/rpc/jsonrpc/types/v3 v3.0.0 // indirect
97102
github.com/decred/go-socks v1.1.0 // indirect
98103
github.com/dustin/go-humanize v1.0.0 // indirect
99104
github.com/ghodss/yaml v1.0.0 // indirect

go.sum

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,8 +96,8 @@ github.com/dchest/siphash v1.2.2/go.mod h1:q+IRvb2gOSrUnYoPqHiyHXS0FOBBOdl6tONBl
9696
github.com/decred/base58 v1.0.3/go.mod h1:pXP9cXCfM2sFLb2viz2FNIdeMWmZDBKG3ZBYbiSM78E=
9797
github.com/decred/base58 v1.0.4 h1:QJC6B0E0rXOPA8U/kw2rP+qiRJsUaE2Er+pYb3siUeA=
9898
github.com/decred/base58 v1.0.4/go.mod h1:jJswKPEdvpFpvf7dsDvFZyLT22xZ9lWqEByX38oGd9E=
99-
github.com/decred/dcrd v1.2.1-0.20221022042516-01b05fde6079 h1:NZrJ0l3usehbOVNPJthztCizWaOsq1m98g6gVJs566I=
100-
github.com/decred/dcrd v1.2.1-0.20221022042516-01b05fde6079/go.mod h1:9MS9DQkbDZGj2yT6znvK4srKr3ZlAm4UTsJTFHgW7Ng=
99+
github.com/decred/dcrd v1.2.1-0.20221123192607-fc017ce3bb3b h1:eIYTj2D/kHejl7Mhv9T3TveGGIH5pCrSKlL6JBtPn4U=
100+
github.com/decred/dcrd v1.2.1-0.20221123192607-fc017ce3bb3b/go.mod h1:9MS9DQkbDZGj2yT6znvK4srKr3ZlAm4UTsJTFHgW7Ng=
101101
github.com/decred/dcrd/addrmgr/v2 v2.0.1 h1:o+AetOWZcSa2j2uVRf0gHvTSCmt4jMviKKpX/KgGQSw=
102102
github.com/decred/dcrd/addrmgr/v2 v2.0.1/go.mod h1:HcDrmMGqo2ilwjMi73YLwJQScv8djDPHgTV8kON8Wx4=
103103
github.com/decred/dcrd/bech32 v1.1.2 h1:b8oBG3wk5DFWO1GwdnvWu99HnY6BOuWNSKi8YeHxCOU=
@@ -127,6 +127,8 @@ github.com/decred/dcrd/connmgr v1.1.0 h1:JtKI3XjHOlJktaoZupxz8FKEKj/dqGFYJOF+vD/
127127
github.com/decred/dcrd/connmgr v1.1.0/go.mod h1:LepSJ1qu+cnY6nmUdiVUsX/NTFcd73FNEegrY7wuEpU=
128128
github.com/decred/dcrd/connmgr/v3 v3.1.0 h1:M197w+xsZQ8CVidigrchoab31wWRUlZhudQDDlq7/Gk=
129129
github.com/decred/dcrd/connmgr/v3 v3.1.0/go.mod h1:NVzQpMSu87fzwEgYmoz+xfVHI6un4+xMkvcMoDjdaRs=
130+
github.com/decred/dcrd/container/apbf v1.0.0 h1:coWt0UsP/Rr5Bsn1cvuywBhHm5X5tmPmUMIbitjWmBs=
131+
github.com/decred/dcrd/container/apbf v1.0.0/go.mod h1:E2SwKtx92yZCll2avNBANNGvv9+MZ8mWI8hafwxOLmk=
130132
github.com/decred/dcrd/crypto/blake256 v1.0.0 h1:/8DMNYp9SGi5f0w7uCm6d6M4OU2rGFK09Y2A4Xv7EE0=
131133
github.com/decred/dcrd/crypto/blake256 v1.0.0/go.mod h1:sQl2p6Y26YV+ZOcSTP6thNdn47hh8kt6rqSlvmrXFAc=
132134
github.com/decred/dcrd/crypto/ripemd160 v1.0.1 h1:TjRL4LfftzTjXzaufov96iDAkbY2R3aTvH2YMYa1IOc=
@@ -141,8 +143,9 @@ github.com/decred/dcrd/dcrec/edwards/v2 v2.0.2/go.mod h1:d0H8xGMWbiIQP7gN3v2rByW
141143
github.com/decred/dcrd/dcrec/secp256k1 v1.0.1/go.mod h1:lhu4eZFSfTJWUnR3CFRcpD+Vta0KUAqnhTsTksHXgy0=
142144
github.com/decred/dcrd/dcrec/secp256k1/v2 v2.0.0 h1:3GIJYXQDAKpLEFriGFN8SbSffak10UXHGdIcFaMPykY=
143145
github.com/decred/dcrd/dcrec/secp256k1/v2 v2.0.0/go.mod h1:3s92l0paYkZoIHuj4X93Teg/HB7eGM9x/zokGw+u4mY=
144-
github.com/decred/dcrd/dcrec/secp256k1/v4 v4.0.1 h1:YLtO71vCjJRCBcrPMtQ9nqBsqpA1m5sE92cU+pd5Mcc=
145146
github.com/decred/dcrd/dcrec/secp256k1/v4 v4.0.1/go.mod h1:hyedUtir6IdtD/7lIxGeCxkaw7y45JueMRL4DIyJDKs=
147+
github.com/decred/dcrd/dcrec/secp256k1/v4 v4.1.0 h1:HbphB4TFFXpv7MNrT52FGrrgVXF1owhMVTHFZIlnvd4=
148+
github.com/decred/dcrd/dcrec/secp256k1/v4 v4.1.0/go.mod h1:DZGJHZMqrU4JJqFAWUS2UO1+lbSKsdiOoYi9Zzey7Fc=
146149
github.com/decred/dcrd/dcrjson/v4 v4.0.0 h1:KsaFhHAYO+vLYz7Qmx/fs1gOY5ouTEz8hRuDm8jmJtU=
147150
github.com/decred/dcrd/dcrjson/v4 v4.0.0/go.mod h1:DMnSpU8lsVh+Nt5kHl63tkrjBDA7UIs4+ov8Kwwgvjs=
148151
github.com/decred/dcrd/dcrutil/v4 v4.0.0 h1:AY00fWy/ETrMHN0DNV3XUbH1aip2RG1AoTy5dp0+sJE=
@@ -153,8 +156,13 @@ github.com/decred/dcrd/gcs/v4 v4.0.0-20221022042529-0a0cc3b3bf92 h1:DiAdpAQg54JL
153156
github.com/decred/dcrd/gcs/v4 v4.0.0-20221022042529-0a0cc3b3bf92/go.mod h1:2SpSpCW0vOWlACQNAn7mPuIb3Vet070zfs1SpcSEv8o=
154157
github.com/decred/dcrd/hdkeychain/v3 v3.1.0 h1:NlUjzPMzexbk1PyJu6vrQaiilep5WsEPB0KdhLYrEcE=
155158
github.com/decred/dcrd/hdkeychain/v3 v3.1.0/go.mod h1:rDCdqwGkcTfEyRheG1g8Wc38appT2C9+D1XTlLy21lo=
159+
github.com/decred/dcrd/lru v1.1.0/go.mod h1:mxKOwFd7lFjN2GZYsiz/ecgqR6kkYAl+0pz0tEMk218=
156160
github.com/decred/dcrd/lru v1.1.1 h1:kWFDaW0OWx6AD6Ki342c+JPmHbiVdE6rK81pT3fuo/Y=
157161
github.com/decred/dcrd/lru v1.1.1/go.mod h1:mxKOwFd7lFjN2GZYsiz/ecgqR6kkYAl+0pz0tEMk218=
162+
github.com/decred/dcrd/math/uint256 v1.0.0 h1:RGXQ8WzTMZ1eVeXy5uE67DPMB5Aa8N7qjgBNGlHdIQ0=
163+
github.com/decred/dcrd/math/uint256 v1.0.0/go.mod h1:s81c06+/jRj3z/Bd73FH79O7nDfOqt1amqtuAnG1cRg=
164+
github.com/decred/dcrd/peer/v3 v3.0.0 h1:tW7UPsHX1569Jh7txpXs2TyXmRFIlgabkBJvN/eHVVY=
165+
github.com/decred/dcrd/peer/v3 v3.0.0/go.mod h1:XF7IR19geyX7hRAyUviyAoU3uyA42vk0YjXWs84V/dU=
158166
github.com/decred/dcrd/rpc/jsonrpc/types/v4 v4.0.0-20221022042529-0a0cc3b3bf92 h1:R32+XN8qM6kB7qUHfbkskPAldTPXWIhxMk+e3UBNwyY=
159167
github.com/decred/dcrd/rpc/jsonrpc/types/v4 v4.0.0-20221022042529-0a0cc3b3bf92/go.mod h1:x1zG8D4HRmUCDtAioDe/QQ/PazzFXcYtSrbasX3FHoE=
160168
github.com/decred/dcrd/rpcclient/v8 v8.0.0-20221022042529-0a0cc3b3bf92 h1:juCUclIk10xKQ787iQw4btd8WRlD4aRhvx94hmRyaCo=
@@ -165,6 +173,8 @@ github.com/decred/dcrd/wire v1.2.0/go.mod h1:/JKOsLInOJu6InN+/zH5AyCq3YDIOW/Eqcf
165173
github.com/decred/dcrd/wire v1.4.0/go.mod h1:WxC/0K+cCAnBh+SKsRjIX9YPgvrjhmE+6pZlel1G7Ro=
166174
github.com/decred/dcrd/wire v1.5.0 h1:3SgcEzSjqAMQvOugP0a8iX7yQSpiVT1yNi9bc4iOXVg=
167175
github.com/decred/dcrd/wire v1.5.0/go.mod h1:fzAjVqw32LkbAZIt5mnrvBR751GTa3e0rRQdOIhPY3w=
176+
github.com/decred/dcrtest/dcrdtest v0.0.0-20221124143755-5c2e83fd64c9 h1:jTeWTLWzPykzSDPF3qS/yHbTAZXrPI7kO1/43kMQ8ZI=
177+
github.com/decred/dcrtest/dcrdtest v0.0.0-20221124143755-5c2e83fd64c9/go.mod h1:9QDaNncc0bWuMeZcbbPhLqUIeE+IBYLAsHio8+2++JI=
168178
github.com/decred/go-socks v1.1.0 h1:dnENcc0KIqQo3HSXdgboXAHgqsCIutkqq6ntQjYtm2U=
169179
github.com/decred/go-socks v1.1.0/go.mod h1:sDhHqkZH0X4JjSa02oYOGhcGHYp12FsY1jQ/meV8md0=
170180
github.com/decred/lightning-onion/v4 v4.0.0 h1:p4WRnx0YFoqD8rq/VHUtfBp24K/cHFJ8tO/gutkWIyI=

internal/testutils/rpctest.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88

99
"github.com/decred/dcrd/chaincfg/v3"
1010
"github.com/decred/dcrd/rpcclient/v8"
11-
"github.com/decred/dcrd/rpctest"
11+
rpctest "github.com/decred/dcrtest/dcrdtest"
1212
)
1313

1414
// NewSetupRPCTest attempts up to maxTries to setup an rpctest harness or

0 commit comments

Comments
 (0)