Exemplo n.º 1
0
Arquivo: hash.go Projeto: askk/ripple
func (r RegularKey) Hash() (crypto.Hash, error) {
	return crypto.NewAccountId(r[:])
}
Exemplo n.º 2
0
Arquivo: hash.go Projeto: askk/ripple
func (a Account) Hash() (crypto.Hash, error) {
	return crypto.NewAccountId(a[:])
}