goat-systems / go-tezos

Go Tezos Is a Go library that exposes and builds upon the Tezos RPC.
MIT License
71 stars 45 forks source link

FromB58 requires unused parameter #186

Open utdrmac opened 3 years ago

utdrmac commented 3 years ago

https://github.com/goat-systems/go-tezos/blob/800cc714fad7313e92a5068407c23e0e397f5323/keys/key.go#L61

The parameter 'kind` is not used anywhere in the function. Since the kind of curve is determined by inspecting the key itself, this parameter should be removed.