示例#1
0
文件: hash.go 项目: aryaya/ripple
func (r RegularKey) Hash() (crypto.Hash, error) {
	return crypto.NewAccountId(r[:])
}
示例#2
0
文件: hash.go 项目: aryaya/ripple
func (a Account) Hash() (crypto.Hash, error) {
	return crypto.NewAccountId(a[:])
}