chainntnfs: add netParams arg to backend funcs

This commit is contained in:
Oliver Gugger committed 2024-03-18 16:13:39 +01:00
1 parent b4449ab55f
commit 11ba14ab02
4 files changed
+24 -20

No files matched your search

+2 -2
View File
@@ -74,7 +74,7 @@ func TestHistoricalConfDetailsTxIndex(t *testing.T) {
t.Parallel()
harness := chainntnfs.NewMiner(
t, []string{"--txindex"}, true, 25,
t, chainntnfs.NetParams, []string{"--txindex"}, true, 25,
)
notifier := setUpNotifier(t, harness)
@@ -145,7 +145,7 @@ func TestHistoricalConfDetailsTxIndex(t *testing.T) {
func TestHistoricalConfDetailsNoTxIndex(t *testing.T) {
t.Parallel()
harness := chainntnfs.NewMiner(t, nil, true, 25)
harness := chainntnfs.NewMiner(t, chainntnfs.NetParams, nil, true, 25)
notifier := setUpNotifier(t, harness)