chainntnfs: add netParams arg to backend funcs

This commit is contained in:
Oliver Gugger
2024-03-15 12:54:30 +01:00
parent b4449ab55f
commit 11ba14ab02
4 changed files with 24 additions and 20 deletions

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)