From a5ecb5d9547afe8d1672073dbdc348203de744a0 Mon Sep 17 00:00:00 2001 From: David Hill Date: Wed, 19 Apr 2017 10:14:49 -0400 Subject: [PATCH] travis: +go 1.8.x -go 1.6.x (#94) --- .travis.yml | 2 +- base58/base58.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index ba96150..3d5ab83 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,7 +1,7 @@ language: go go: - - 1.6.x - 1.7.x + - 1.8.x sudo: false install: - go get -d -t -v ./... diff --git a/base58/base58.go b/base58/base58.go index bb940e3..19a72de 100644 --- a/base58/base58.go +++ b/base58/base58.go @@ -39,7 +39,7 @@ func Decode(b string) []byte { } } flen := numZeros + len(tmpval) - val := make([]byte, flen, flen) + val := make([]byte, flen) copy(val[numZeros:], tmpval) return val