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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user