hdkeychain: address go vet warnings
This commit is contained in:
parent
a5016344ef
commit
06f32abe07
2 changed files with 3 additions and 2 deletions
|
@ -79,6 +79,6 @@ func BenchmarkSerialize(b *testing.B) {
|
||||||
b.StartTimer()
|
b.StartTimer()
|
||||||
|
|
||||||
for i := 0; i < b.N; i++ {
|
for i := 0; i < b.N; i++ {
|
||||||
masterKey.String()
|
_ = masterKey.String()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -232,7 +232,8 @@ tests:
|
||||||
}
|
}
|
||||||
|
|
||||||
if extKey.Depth() != uint8(len(test.path)) {
|
if extKey.Depth() != uint8(len(test.path)) {
|
||||||
t.Errorf("Depth of key %d should match fixture path")
|
t.Errorf("Depth of key %d should match fixture path: %v",
|
||||||
|
extKey.Depth(), len(test.path))
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue