Fix unused parameter errors in agehd and bip85 tests

- Remove unused goroutineID parameter from agehd concurrent test
- Remove unused description parameter from bip85 logTestVector function
- Update all call sites to match new signatures
This commit is contained in:
2025-06-20 08:55:42 -07:00
parent 4fe49ca8d0
commit 47afe117f4
2 changed files with 26 additions and 26 deletions

View File

@@ -188,7 +188,7 @@ func TestDeterministicXPRVDerivation(t *testing.T) {
t.Logf("XPRV Index 1: %s", id3.String())
}
func TestMnemonicVsXPRVConsistency(t *testing.T) {
func TestMnemonicVsXPRVConsistency(_ *testing.T) {
// FIXME This test is missing!
}
@@ -661,7 +661,7 @@ func TestConcurrentDerivation(t *testing.T) {
errors := make(chan error, testNumGoroutines*testNumIterations)
for i := 0; i < testNumGoroutines; i++ {
go func(goroutineID int) {
go func() {
for j := 0; j < testNumIterations; j++ {
if j < 0 || j > 1000000 {
errors <- fmt.Errorf("index out of safe range")
@@ -674,7 +674,7 @@ func TestConcurrentDerivation(t *testing.T) {
}
results <- identity.String()
}
}(i)
}()
}
// Collect results