linting: little more fixes

This commit is contained in:
Zach Ramsay
2017-10-04 18:27:35 -04:00
parent 87cb57c3e5
commit 796024f42f
3 changed files with 18 additions and 13 deletions

View File

@ -15,21 +15,23 @@
package crypto_test
import (
"fmt"
//"fmt"
"github.com/tendermint/go-crypto"
//"github.com/tendermint/go-crypto"
)
func Example_Sha256() {
/*
func example_Sha256() {
sum := crypto.Sha256([]byte("This is Tendermint"))
fmt.Printf("%x\n", sum)
// Output:
// f91afb642f3d1c87c17eb01aae5cb65c242dfdbe7cf1066cc260f4ce5d33b94e
}
func Example_Ripemd160() {
func example_Ripemd160() {
sum := crypto.Ripemd160([]byte("This is Tendermint"))
fmt.Printf("%x\n", sum)
// Output:
// 051e22663e8f0fd2f2302f1210f954adff009005
}
*/