Fix error in base58check test
This commit is contained in:
parent
6065135ba8
commit
4443e04cb8
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ func TestBase58Check(t *testing.T) {
|
||||||
// bytes are missing).
|
// bytes are missing).
|
||||||
testString := ""
|
testString := ""
|
||||||
for len := 0; len < 4; len++ {
|
for len := 0; len < 4; len++ {
|
||||||
// make a string of length `len`
|
testString = testString + "x"
|
||||||
_, _, err = base58.CheckDecode(testString)
|
_, _, err = base58.CheckDecode(testString)
|
||||||
if err != base58.ErrInvalidFormat {
|
if err != base58.ErrInvalidFormat {
|
||||||
t.Error("Checkdecode test failed, expected ErrInvalidFormat")
|
t.Error("Checkdecode test failed, expected ErrInvalidFormat")
|
||||||
|
|
Loading…
Reference in a new issue